Cancel an outstanding request
The request with the supplied requestId
is cancelled and deleted. Any information that has already been gathered from on part of the organisation must be deleted. The user must be able to submit a new data request immediately.
DELETE
/requests/{requestId}
curl \
-X DELETE http://api.example.com/requests/{requestId} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
"OK"
Response examples (200)
OK
Response examples (401)
{
"error": "Unauthorized",
"message": "You are not authorized. Generate authentication tokens via OAuth to access this resource."
}
Response examples (401)
{
"error": "Unauthorized",
"message": "You are not authorized. Generate authentication tokens via OAuth to access this resource."
}
Response examples (404)
{
"error": "Not Found",
"message": "Could not find a data request with this id."
}
Response examples (404)
{
"error": "Not Found",
"message": "Could not find a data request with this id."
}