Skip to main content
DELETE
/
v1
/
entities
/
{entityTypeName}
/
{entityId}
/
files
/
{fileId}
Delete a File
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>"
}

Authorizations

Authorization
string
header
required

Bearer token

X-Account-ID
string
header
required

Account ID

Path Parameters

entityTypeName
string
required

Entity type name

entityId
string<uuid>
required

Entity ID

fileId
string<uuid>
required

File ID

Response

Allowed IP deleted successfully