---
title: "Contact disassociation"
method: POST
path: "/api/contacts/disassociate/{contact_id}"
tags: ["Contacts"]
---

# Contact disassociation

`POST /api/contacts/disassociate/{contact_id}`

## Request

- Base URL: `https://go.urbanairship.com`
- URL: `https://go.urbanairship.com/api/contacts/disassociate/{contact_id}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `http://oauth2.{domain}.com/token` scopes: `cnt`
- TypeScript: <https://skmtc.dev/airship/apis/airship-api/docs/api/contacts/disassociate/:contact_id/post.ts> (a function with typed inputs; its response is checked against the schema)

Disassociates channel from a contact with the option of also opting out. You can identify a channel by MSISDN, email address, or channel ID.

## Path parameters

- `contact_id` string, uuid, required

## Request body

- object
  - `channel_id` string, uuid: The channel ID to disassociate from the contact.
  - `channel_type` 'sms' | 'email' | 'ios' | 'android' | 'amazon' | 'web' | 'open', required: The type of channel.
  - `email_address` string: The email address to disassociate from the contact.
  - `msisdn` string: The mobile phone number to disassociate from the contact. Must be numeric characters only, without leading zeros. 15 digits maximum.
  - `opt_out` boolean: Optional. True if the channel is to be opted out; otherwise false.
  - `sender` string: A long or short code the app is configured to send from. For example, `12345`.

## Response `200`

The request was accepted.

- object
  - `channel_id` string, uuid: Identifies the existing unique channel ID.
  - `contact` string, uuid: Identifies the existing unique contact ID.
  - `ok` boolean: Success.

## Other responses

- `400`: There was a parsing or validation error in the request. Bad Request errors typically include `path` and `location` in the response to help you find the cause of the error.
- `401`: Authentication information (the app key and secret or bearer token) was either incorrect or missing.

## Changes

- **2026-02-20** `e2bd980cb50b`: 7 info
  - the endpoint scheme security `oauth2Token` was added to the API
  - the endpoint scheme security `contactJWTToken` was removed from the API
  - added the new `amazon` enum value to the request property `channel_type`
  - added the new `android` enum value to the request property `channel_type`
  - …3 more
- **2025-11-19** `43eb86d7e2d0`: 1 info
  - endpoint added
  - …this revision’s changelog is incomplete

[Operation history](https://skmtc.dev/airship/apis/airship-api/changes/api/contacts/disassociate/:contact_id/post.md)

---

[API](https://skmtc.dev/airship/apis/airship-api.md) - [All operations](https://skmtc.dev/airship/apis/airship-api/llms.txt) - [OpenAPI document](https://skmtc.dev/airship/apis/airship-api/revisions/bd6ab947117a?raw)
