v1

latestOpenAPI 3.0.3MIT2026-07-1373217576.0 KB
Team

Remove User from Team

Removes the provided user Account from your Team. If the Account had an outstanding invitation to your Team, the invitation will be expired. If you choose to transfer documents from the removed Account to an Account provided in the new_owner_email_address parameter (available only for Enterprise plans), the response status code will be 201, which indicates that your request has been queued but not fully executed.

post/team/remove_member

Request body

account_idstring

account_id or email_address is required. If both are provided, the account id prevails.

Account id to remove from your Team.

email_addressstring email

account_id or email_address is required. If both are provided, the account id prevails.

Email address of the Account to remove from your Team.

new_owner_email_addressstring email

The email address of an Account on this Team to receive all documents, templates, and API apps (if applicable) from the removed Account. If not provided, and on an Enterprise plan, this data will remain with the removed Account.

NOTE: Only available for Enterprise plans.

new_team_idstring

Id of the new Team.

new_role'Member' | 'Developer' | 'Team Manager' | 'Admin'

A new role member will take in a new Team.

NOTE: This parameter is used only if new_team_id is provided.

Response

successful operation