Files
Delete a file
Deletes the file. Files already attached to a thread stay available within that thread until the thread itself is deleted.
DELETE
/v1/files/{file_id}Authorization
APIKeyHeader api-key<token>
In: header
Path Parameters
file_id*File Id
Format
uuidHeader Parameters
user-id*User-Id
ID of the end user the file belongs to.
Match
^[A-Za-z0-9._\-@:]+$Length
length <= 255Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/files/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "user-id: string"Empty