Delete an instance of eventSubscriptions

delete

/services/rest/connect/latest/eventSubscriptions/{id}

Request

Path Parameters

Response

Default Response

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

Examples

Use DELETE with the following syntax to delete an event subscription:

https://your_site_interface/services/rest/connect/version/eventSubscriptions/event_subscription_id

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/eventSubscriptions/10003

Response example

The status 200 OK is returned. Then trying to retrieve that event subscription record:

https://mysite.example.com/services/rest/connect/v1.4/eventSubscriptions/10003

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 10003 not found",
  "instance": "https://mysite.example.com/services/rest/connect/v1.4/eventSubscriptions/10003",
  "o:errorCode": "OSC-CREST-00013"
}

Note:

Event subscription 10003 no longer exists.