{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can remove a single admin (teammate) from your workspace.\nRequires the `remove_admins` OAuth scope.\n\nThis removes the admin's access to the workspace. In most cases their\nwork is reassigned to the IDs given in the `reassign_*` parameters. In\nworkspaces with more than one seat type, no reassignment happens if the\nadmin has no seat, a Collaborator seat or a Lite seat.","properties":{"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"query":{"type":"object","properties":{"admin_id":{"type":"integer","examples":[123],"description":"The unique identifier of the admin to remove."},"reassign_messages_admin_id":{"type":"integer","examples":[456],"description":"The unique identifier of a human admin to reassign the removed admin's auto-message ownership to."},"reassign_owner_admin_id":{"type":"integer","examples":[456],"description":"The unique identifier of a human admin to reassign the removed admin's ownership (of users and leads) to."},"reassign_articles_author_id":{"type":"integer","examples":[456],"description":"The unique identifier of a human admin to reassign the removed admin's article authorship to."},"reassign_conversations_admin_id":{"type":"integer","examples":[456],"description":"The ID of an admin with Inbox access, or a team, to reassign the removed admin's conversation replies to. Pass `0` to leave conversations unassigned."},"reassign_replies_teams":{"type":"array","items":{"type":"object","properties":{"team_id":{"type":"integer","examples":[789]},"assignee_id":{"type":"integer","examples":[456]}}},"description":"A list of teams and the admin each team's conversation replies should be reassigned to."}},"required":["admin_id","reassign_messages_admin_id","reassign_owner_admin_id","reassign_articles_author_id","reassign_conversations_admin_id"],"additionalProperties":false}},"required":["query"],"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"]}}},"name":"Remove an admin","id":"intercom.removeadmin","example":{"query":{"admin_id":123,"reassign_messages_admin_id":456,"reassign_owner_admin_id":456,"reassign_articles_author_id":456,"reassign_conversations_admin_id":456}},"maxRequests":1,"summary":false}}