Delete single image
DELETEhttps://partner-content-api.epidemicsound.com/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
message stringrequired
Human readable message
errors
object[]
{
"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
message stringrequired
Human readable message
errors
object[]
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Invalid credentials"
}
Image was not found
- application/json
- Schema
- Example (from schema)
- Example
Schema
message stringrequired
Human readable message
errors
object[]
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Image was not found"
}
Rate limit exceeded.
- application/json
- Schema
- Example (from schema)
- Example
Schema
message stringrequired
Human readable message
errors
object[]
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Rate limit exceeded"
}
Authorization: http
name: UserAuthtype: httpdescription: User authentication is handled with short lived user access tokens. Use a partner token to request these tokens. The access token is of JWT format and should be passed in a header with your API requests: > **Example Header:** `Authorization: Bearer a-user-token`scheme: bearer
- curl
- python
- nodejs
- CURL
curl -L -X DELETE 'https://partner-content-api.epidemicsound.com/v0/uploads/images/:imageId' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear