provider Conversations DELETE /conversations/{conversation_id}/customers/{contact_id}
@utdk/intercom /conversations/{conversation_id}/customers/{contact_id}
Detach a contact from a group conversation
You can remove participants who are contacts from a group conversation, on behalf of an admin. {% admonition type="warning" name="Removing the last participant" %} You cannot remove the last remaining contact from a conversation. {% /admonition %}
Intercom-Version header
enum: 1.0, 1.1, 1.2, 1.3…
conversation_id path required
The identifier for the conversation as given by Intercom.
string
contact_id path required
The identifier for the contact as given by Intercom.
string

Try it

Authentication
Configure credentials for Intercom API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

detachcontactfromconversation
DELETE/conversations/{conversation_id}/customers/{contact_id}
You can remove participants who are contacts from a group conversation, on behalf of an admin. {% admonition type="warning" name="Removing the last participant" %} You cannot remove the last remaining contact from a conversation. {% /admonition %}

Parameters

required

The identifier for the conversation as given by Intercom.

required

The identifier for the contact as given by Intercom.

Input

required

The `id` of the admin who is performing the action.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import intercom from '@utdk/intercom';

await intercom.detachcontactfromconversation({
  "Intercom-Version": "2.14"
})