files management

Delete Files By Ids

Delete specific files by their IDs.

Only files owned by the authenticated user will be deleted. Files that don't exist or aren't owned by the user are silently ignored. This action cannot be undone.

post/v3/upload/delete

Request

  • Base URL
    https://api.edenai.run
  • Auth
    HTTP bearer

Request body

file_idsstring[] required

List of file IDs to delete (1-100)

Example request

{
  "file_ids": [
    "550e8400-e29b-41d4-a716-446655440000",
    "550e8400-e29b-41d4-a716-446655440001"
  ]
}

Response

Successful Response

deleted_countinteger required

Number of files deleted

Example response

{
  "deleted_count": 5
}

Changes

No recorded changes to this operation across all 1 revision of this API.