DELETE
/
files
/
{id}
curl --request DELETE \
  --url https://{controlPlaneURL}/api/llm/api/inference/openai/files/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-tfy-provider-name: <x-tfy-provider-name>'

Authorizations

Authorization
string
header
required

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

Headers

x-tfy-provider-name
string
required

Name of the provider

x-tfy-metadata
string

Optional metadata for the request

Path Parameters

id
string
required

The ID of the file to retrieve

Response

200

File deleted successfully