Delete single image
DELETE/v0/uploads/images/:imageId
Use the delete image endpoint to delete a single image uploaded by a user
Request
Path Parameters
imageId stringrequired
Image id
Responses
- 204
- 400
- 401
- 404
- 429
Image was deleted
Bad request.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
message stringrequired
Human readable message
errors
object[]
key stringrequired
Error key
messages string[]required
Error messages
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Bad request"
}
Unauthorized. Most likely your access token has expired.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
message stringrequired
Human readable message
errors
object[]
key stringrequired
Error key
messages string[]required
Error messages
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Invalid credentials"
}
Image was not found
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
message stringrequired
Human readable message
errors
object[]
key stringrequired
Error key
messages string[]required
Error messages
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Image was not found"
}
Rate limit exceeded.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
message stringrequired
Human readable message
errors
object[]
key stringrequired
Error key
messages string[]required
Error messages
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Rate limit exceeded"
}
Loading...