OverviewProductsPlatformsAPI ReferenceResources

Cancel an iMessage sender

DELETEhttps://zernio.com/api/v1/imessage/senders/{senderId}

Cancels the sender at the provider and deactivates its messaging account. Billing stops with the current month (no proration or refunds, matching phone numbers). A sender still being set up (status ordering or activating) cannot be canceled; contact support to change the order.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

senderIdstringRequired

Responses

Success· the request worked

Errors· the request failed

DELETE/v1/imessage/senders/{senderId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.imessage.cancelImessageSender({  path: {    senderId: 'sender_abc123',  },});console.log(data);
{  "success": true,  "sender": {    "id": "string",    "kind": "phone",    "region": "US",    "handle": "string",    "optInLink": "string",    "status": "ordering",    "priceCents": 0,    "provider": "string",    "profileId": "string",    "displayName": "string",    "failureReason": "string",    "accountId": "string",    "createdAt": "2019-08-24T14:15:22Z"  }}
OpenAPI specification
Was this page helpful?