RocketCOMS

Remove a Campaign Subscription

Delete a webhook subscription for a campaign. A subscription cannot be restored once deleted.

Endpoint

DELETE /v1/campaigns/{campaignId}/subscriptions/{subscriptionId}

Authorization Header

Authorization: Bearer <access_token>
or
Authorization: Basic <encodedString>
where <encodedString> is your <api-key>:<api-secret> string encoded using Base64 encoding

Path Parameters

campaignId  REQUIRED

string (UUID)

Unique ID assigned to the campaign in RocketCOMS.

subscriptionId  REQUIRED

string (UUID)

Unique ID assigned to the webhook subscription in RocketCOMS.

Request Body

None

Returns

If successful, returns 200 Subscription deleted successfully.

SAMPLE RESPONSE

				
					{
  200 Subscription deleted successfully
}