Delete file (Anthropic format)
Deletes an uploaded file.
AuthorizationBearer <token>
Bearer token authentication. Use your MPilot virtual-key JWT or admin JWT.
Virtual keys (prefixed with sk-bf-) can also be passed here.
In: header
Path Parameters
file_idstring
File ID to delete
Header Parameters
x-model-provider?string
Provider for the file
Response Body
curl -X DELETE "https://loading/{AI_GATEWAY_URL}/anthropic/v1/files/string" \ -H "x-model-provider: string"{
"id": "string",
"type": "file_deleted"
}{
"type": "error",
"error": {
"type": "string",
"message": "string"
}
}{
"type": "error",
"error": {
"type": "string",
"message": "string"
}
}