cURL
curl --request DELETE \ --url https://api.us.lexful.app/v1/assets/{assetTypeName}/{assetId}/files/{fileId} \ --header 'Authorization: Bearer <token>' \ --header 'X-Account-ID: <api-key>'
{ "status": 123, "message": "<string>", "error_id": "<string>", "error_code": "<string>", "developer_message": "<string>" }
Delete a file
Documentation IndexFetch the complete documentation index at: https://developer.lexful.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://developer.lexful.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token
Account ID
Asset type name
Asset ID
File ID
Allowed IP deleted successfully
Was this page helpful?