delete /ondemand/requests/{requestId}
Stops and deletes the specified On-Demand request.
Stops and deletes the On-Demand request specified by the reqeustID
parameter. Its status is set to "aborted".
Path parameters
- requestId (required)
- The request ID.
Return type
Example data
Content-Type: application/json
{
"data" : {
"reportType" : "Excel",
"requestType" : "report",
"created" : "2000-01-23T04:56:07.000+00:00",
"id" : "00000000-0000-0000-0000-000000000000",
"title" : "title",
"outputFormat" : "pdf",
"status" : "queued"
}
}
Responses
- 200
- Success. The On-Demand request has been deleted.
- 400
- The request ID is malformed.
- 403
- The user is not authorized to delete the On-Demand request.
- 404
- The request does not exist or has expired.