v1
Delete a file by ID. After this returns, the file no longer appears in `GET /v1/files`, content download returns 404, and the ID can no longer be referenced in chat attachments.
delete/v1/files/{file_id}
Request
- Base URL: https://docs.x.ai (the document declares no server; this is the origin it was published from)
- URL: https://docs.x.ai/v1/files/{file_id}
- Auth: HTTP bearer
Path parameters
file_idstring required
The file's id to delete.
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.