Skip to main content
DELETE
/
v1
/
files
/
{file_id}
Delete File
curl --request DELETE \
  --url https://api.shuyou.ai/v1/files/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "file",
  "deleted": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

file_id
string
required

File ID returned from upload

Response

File deleted

id
string
object
string
Example:

"file"

deleted
boolean
Example:

true