The ID of the organization to remove the member from.
The ID of the user to remove from the organization.
Response
Indicates whether the call was successful.
success
if successful, error
if not.Error Responses
Indicates whether the call was successful.
error
if not successful.The error code indicating the reason for failure. Possible values:
UNAUTHORIZED
: The user is not authenticated.ONLY_OWNER_CAN_REMOVE_MEMBERS
: Only the organization owner can remove members.CANNOT_REMOVE_OWNER
: The organization owner cannot be removed.MEMBER_NOT_FOUND
: The specified user does not exist.MEMBER_NOT_FOUND_IN_ORGANIZATION
: The user is not a member of the organization.ORG_ID_MUST_BE_STRING
: The provided organization ID is not a string.USER_ID_MUST_BE_STRING
: The provided user ID is not a string.