cURL
curl --request DELETE \ --url http://localhost:8080/v1/files/{file_id} \ --header 'x-model-provider: <x-model-provider>'
{ "id": "<string>", "object": "<string>", "deleted": true, "extra_fields": "<unknown>" }
Deletes a file.
The model provider
The ID of the file to delete
File deleted
Was this page helpful?