Delete A File/ Multiple Files
Last updated
Last updated
DELETE
/api/v1/{entity-type}/{entity-id}/{property}/documents/{document-id}
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
{registry-url}
is usually http://localhost:{port}. The port can be found under theregistry
section in thedocker-compose.yml
file and is usually8081
.
entity-type*
String
Entity type for which the template will be uploaded
entity-id*
String
Entity ID for mentioned Entity Type
property*
String
any String for eg templates for uploading html template
document-id
String
ID of document that was uploaded. If this is not provided, entire directory that holds any no of files will be deleted
authorization
String
Set to Bearer {access-token}
if roles in schema is not anonymous. Else authorization can be empty