cURL
curl --request DELETE \ --url https://api.us.lexful.app/v1/entities/{entityTypeName}/{entityId}/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
Bearer token
Account ID
Entity type name
Entity ID
File ID
Allowed IP deleted successfully
Was this page helpful?