Assets
Delete assets by query
Changed ondelete/api/v1/{tenant}/assets/by-query
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/{tenant}/assets/by-query
- Auth: one of:
- HTTP bearer
- HTTP basic
Path parameters
tenantstring required
Query parameters
Filters
purgeboolean required
If true, will purge instead of soft-delete
Response
Number of deleted assets
Example response
{
"count": 0
}Changes
- breaking
added the new required
queryrequest parameterpurge - info
added the enum value
EXPIRATION_DATEto the propertyitems/fieldof thequeryrequest parameterfilters - info
added the enum value
USERNAMEto the propertyitems/fieldof thequeryrequest parameterfilters - info
added the non-success response with the status
- info
added the optional property
to the response with the status
- breaking