Method
removeUserFromOrganization DELETE
Copy DELETE

Removes the specified user from the organization. You can remove yourself; otherwise, you must be an organization administrator to use this method to remove other users from the organization.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes email str The email address of the user to remove from the organization.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error

Exceptions:

TYPE WHEN
PermissionDeniedError

The email is not the same as the current user and the current user is not an administrator of the organization.

Language: