Delete a service disposition

delete

/services/rest/connect/v1.4/serviceDispositions/{id}

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : No content
Type: null
Title: No content
No content returned on delete
Back to Top

Examples

Use DELETE with the following syntax to delete a service disposition:

https://your_site_interface/services/rest/connect/version/serviceDispositions/
service_disposition_id

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/serviceDispositions/41

Response example

The status 200 OK is returned. Then trying to retrieve the deleted record:

https://mysite.example.com/services/rest/connect/v1.4/serviceDispositions/41

returns the following error:

{
  "type": "https://mysite.example.com/services/rest/connect/exceptions/OSC-CREST-00013",
  "title": "Unrecognized resource",
  "status": 404,
  "detail": "Resource with id 41 not found",
  "instance": "https://mysite.example.com/services/rest/connect/v1.4/serviceDispositions/41",
  "o:errorCode": "OSC-CREST-00013"
}

Note:

Service disposition 41 no longer exists.
Back to Top