Batch Delete Requests

delete

/sites/management/api/v1/requests

COLLECTION

Soft delete one or more request resources in a single request by providing a list of request identifiers. Response details for each delete are included in the response.

Deleting all requests is not supported, so if no batch query parameter is provided, the response will indicate that the operation is not implemented.

Batching

This operation supports batching of DELETE requests. Two or more resource instances up to a maximum of 50 can be deleted in a single batch response by specifying a comma-separated list of resource identifiers using the idquery parameter. The response will contain details of each DELETE response, providing the response status code, headers and response body.

Successful Response Examples

This operation responds with the following success (2xx) responses. For a full list of response HTTP status codes and example bodies, consult the Response section of this operation.

204No Content - Soft Deleted

When the resource is deleted a 204 status code is returned.

Request

Query Parameters
  • List of resource identifiers to use for a batched request. The syntax uses a comma-delimited sequence of resource identifiers.

Back to Top

Response

Supported Media Types

204 Response

No Content

400 Response

Bad Request

401 Response

Unauthorized

409 Response

Conflict

413 Response

Payload Too Large

429 Response

Too Many Requests

500 Response

Internal Server Error

501 Response

Not Implemented

502 Response

Bad Gateway

503 Response

Service Unavailable

504 Response

Gateway Timeout
Back to Top