Pipelines

Unsubscribe a pipeline from a mailbox

Stops delivery to this pipeline. 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/pipelines/{pipelineId}/email-subscriptions/{subscriptionId}

Request

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

Path parameters

pipelineIdstring required
subscriptionIdstring required

Response

The subscription was removed.

deletedtrue required

Changes

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