Apps

Unsubscribe a deployment from a mailbox

Stops delivery to this deployment. Gmail: deletes the Pub/Sub push subscription and, when nothing else subscribes to that mailbox, stops the Gmail watch and removes the topic. Outlook: deletes the Microsoft Graph subscription (already-missing counts as deleted); returns 502 provider_error and keeps the subscription if Graph refuses, so the call can be retried.

delete/api/v1/apps/{appId}/email-subscriptions/{subscriptionId}

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/apps/{appId}/email-subscriptions/{subscriptionId}
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

appIdstring required
subscriptionIdstring required

Response

The subscription was removed.

deletedtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.