Delete Service Request
URL: http://{{server-url}}/api/v1/request/{service_request_id}
Example: http://{{server-url}}/api/v1/request/12
In order to delete a service request, you have to call the above endpoint with the following key-values:
Header
Key | Description |
---|---|
Authorization | Bearer/API Key {access token obtained after authorization} |
Example (Request & Response)
Request
curl --location --request DELETE 'http://172.16.12.173/api/v1/request/19' \
--header 'Authorization: Apikey cuiCoIvEWMwiAa4T%40D1F5M7cRAQnXW0Wmn4D3HrdQuMYqGcVSH5oWNH4V4%2F11R%2BgTM8J2KiLNdw%3D%3D'
Response
{
"userMessage": "Request has been archived successfully.",
"warningMessage": null,
"id": 19,
"success": false
}