DELETE
/contacts/{contact_id}/subscriptions/{subscription_id}Remove a subscription from a contact
Removes a subscription type from a contact. Identify both the contact and subscription type with their respective path parameters; the response returns the removed subscription type.
contact_idstringrequired
The unique identifier of the contact to remove the subscription from.
subscription_idstringrequired
The unique identifier of the subscription type to remove from the contact.
Intercom-Versionstringoptional
The Intercom API version to use; the listed values include 1.0 through 2.6. Defaults to 2.17 when omitted.
200Returns the subscription type object removed from the contact, including its state, consent type, translations, and supported content types.
typestringoptional
The type of the object - subscription
idstringoptional
The unique identifier representing the subscription type.
statestringoptional
The state of the subscription type.
default_translationobjectoptional
A translation object contains the localised details of a subscription type.
translationsarray<Translation>optional
An array of translations objects with the localised version of the subscription type in each available locale within your translation settings.
consent_typestringoptional
Describes the type of consent.
content_typesarray<string>optional
The message types that this subscription supports - can contain `email` or `sms_message`.
401Returned when the request is unauthorized.
One documented failure
unauthorizedAccess Token Invalid
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
404Returned when the requested resource is not found.
One documented failure
not_foundUser Not Found
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
Error handling
A 401 is returned when the request is unauthorized. A 404 is returned when the contact or subscription type is not found. The contact_id and subscription_id path parameters must identify the contact and subscription to detach. The Intercom-Version header defaults to 2.17 when omitted.