Skip to content

Delete Subscription

← HTTP API reference
View source specification ↗
DELETE /{namespace}/{principalType}/{principalId}/subscriptions/{subscriptionId}

Delete a subscription.

Required scope

subscription:write

Path parameters

namespacestringRequired

The namespace of the principal

principalTypestringRequired

The type of principal

principalIdstringRequired

The ID of the principal

subscriptionIdstringRequired

The ID of the subscription to delete

Returns

200

Subscription deleted successfully

No response body.

Errors

400

Invalid request payload

Check the request fields and any validation details, then correct the payload.

500

Internal server error

Retry with backoff only when the operation is safe to repeat. Include the error code when reporting persistent failures.