Delete records by query
Deletes one or more records that match the provided query. Query is provided in the
request content as JSON.
Request |
The body is a query language in JSON format. The parameter content type is application/json. |
Parameters |
|
Headers |
|
Response | No content. |
Status |
|
Limitation | This REST API does not support deleting records by query for the Role entity in the PROVISIONING system data container. |
Sample request
To delete the Product instances where Product/Price is greater than 18, use the following query:
{
"select": {
"from": ["Product"],
"where": {
"gt":[
{"field": "Product/Price"},
{"value": "18"}
]
}
}
}