{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can remove participants who are contacts from a group conversation, on behalf of an admin.\n\n{% admonition type=\"warning\" name=\"Removing the last participant\" %}\nYou cannot remove the last remaining contact from a conversation.\n{% /admonition %}\n\n","properties":{"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"path":{"type":"object","properties":{"conversation_id":{"type":"string","examples":["123"],"description":"The identifier for the conversation as given by Intercom."},"contact_id":{"type":"string","examples":["123"],"description":"The identifier for the contact as given by Intercom."}},"required":["conversation_id","contact_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/detach_contact_from_conversation_request","examples":[{"admin_id":991267739}]}},"required":["path"],"additionalProperties":false,"definitions":{"intercom_version":{"description":"Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.","type":"string","enum":["1.0","1.1","1.2","1.3","1.4","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17"],"examples":["2.17"]},"detach_contact_from_conversation_request":{"properties":{"admin_id":{"type":"string","description":"The `id` of the admin who is performing the action.","examples":["5017690"]}},"required":["admin_id"]}}},"name":"Detach a contact from a group conversation","id":"intercom.detachcontactfromconversation","example":{"path":{"conversation_id":"123","contact_id":"123"}},"maxRequests":1,"summary":false}}