Skip to main content
Delete Event Subscription
curl --request DELETE \
  --url https://api.yapily.com/notifications/event-subscriptions/{eventTypeId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "meta": {
    "tracingId": "<string>"
  },
  "data": {
    "eventTypeId": "payment.status.completed",
    "applicationId": "2698db90-6635-4f76-b673-5ce8e2aeda0e",
    "created": "28-07-2021 15:47:03",
    "deleteStatus": "SUCCESS"
  },
  "links": {},
  "forwardedData": [
    {
      "headers": {},
      "url": "<string>"
    }
  ],
  "raw": [
    {
      "request": {
        "method": "<string>",
        "url": "<string>",
        "requestInstant": "2023-11-07T05:31:56Z",
        "headers": {},
        "body": {},
        "bodyParameters": {},
        "startTime": "2023-11-07T05:31:56Z",
        "startedAt": "2023-11-07T05:31:56Z"
      },
      "duration": "<string>",
      "headers": {},
      "resultCode": 123,
      "result": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Use HTTP Basic Authentication with your Application ID as username and Application Secret as password. Manage credentials in the Yapily Console. See Authentication for details.

Headers

sub-application
string<uuid>

The sub-application ID for which event type will be deleted

Path Parameters

eventTypeId
string
required

Unique identifier of the event type (for which notifications will be sent). Valid event type Id

Response

Event subscription deleted successfully

meta
object
data
Response upon successful unsubscribe on subscription · object
forwardedData
object[]
raw
object[]
deprecated