Delete a subscription
Deletes a subscription.
Request
DELETE https://toloka.yandex.com/api/v1/webhook-subscriptions/<subscription_id>
Authorization: OAuth <OAuth token>
DELETE https://sandbox.toloka.yandex.com/api/v1/webhook-subscriptions/<subscription_id>
Authorization: OAuth <OAuth token>
Path parameters
Parameter | Overview |
---|---|
subscription_id | ID of the subscription. |
Parameter | Overview |
---|---|
subscription_id | ID of the subscription. |
Headers
Title | Overview |
---|---|
Authorization | A token for account authorization. Add OAuth as a prefix. |
Title | Overview |
---|---|
Authorization | A token for account authorization. Add OAuth as a prefix. |
Response
If the request is successful, the server returns the "204 No Content" or "404 Not Found" HTTP operation status.