Remove a photo
Read and write keySeller API v1 · Updated 7 November 2026
DELETEhttps://klodivo.com/api/v1/inventory/{id}/photos/{n}
Removes the photo at position n (1 is the first, as in the listing's photos). The photos after it move up one place.
Authentication
API key in the header Authorization: Bearer kv_live_…. This call needs a Read and write key. Create keys under Your store → API.
Path parameters
| Name | Type | Description |
|---|---|---|
| id Required | integer | The listing's id (from GET /inventory). |
| n Required | integer | The photo's position, from 1. |
Responses
Removed. The listing with its photos. See the example response with the request examples.
No listing with this id, or no photo at that position.
{
"error": {
"code": "no_photo",
"message": "This listing has 3 photos."
}
}Missing, unknown or revoked key.
{
"error": {
"code": "unauthorized",
"message": "This API key doesn't exist or was revoked."
}
}A Read only key, or the store is suspended or closed.
{
"error": {
"code": "read_only_key",
"message": "This is a read-only key. Create a read and write key to change anything."
}
}Too many requests. Wait the seconds in Retry-After.
{
"error": {
"code": "rate_limited",
"message": "Too many requests: up to 120 a minute per key. Try again in 12 s."
}
}Still stuck? Contact us; we reply within 2 business days.