Skip to main content
POST
/
v3
/
upload
/
delete
Delete Files By Ids
curl --request POST \
  --url https://api.edenai.run/v3/upload/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "file_ids": [
    "550e8400-e29b-41d4-a716-446655440000",
    "550e8400-e29b-41d4-a716-446655440001"
  ]
}
'
{
  "deleted_count": 5
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body for deleting multiple files.

file_ids
string<uuid>[]
required

List of file IDs to delete (1-100)

Required array length: 1 - 100 elements

Response

Successful Response

Response for file deletion.

deleted_count
integer
required

Number of files deleted