cURL
curl --request DELETE \ --url https://api.example.com/v1/projects/{project_id}/files/{file_id} \ --header 'x-api-key: <api-key>' \ --header 'x-selected-account-id: <api-key>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
Delete a file from both storage and the database.
This also cleans up associated parse result artifacts from storage. Parse results are cascade-deleted from the database when the file is removed.
API key for authentication
Selected Account ID
Successful Response