Skip to main content

Deleting file

The Gateway provides an endpoint to delete files.

Request

DELETE 

/api/v1/entities/:id/files

Content-Type: application/json

{
"references": ["67aa15cff2164c1316a3675f"]
}

References (references)

The references string array contains the references to the files that should be deleted.

Response

The response contains the references the entity now has.

[
{
"ref": "67aa15cff2164c1316a36754",
"fileUsages": ["gallery"]
}
]