AI Gateway

DELETE /ai/v1/files/{file_id}

Changed on

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

file_idstring required

Provider file id, e.g. file-abc123

Response

File deleted

deletedboolean required
idstring required
objectstring required

Always file

Changes