ts.org.remove_member

Remove a user from an organization.

Remove a user from an organization.

Requires authentication

Description

Removes a user’s membership from an organization.

Parameters

NameTypeRequiredDefaultDescription
org_idstringYesOrganization ID
user_idstringYesUser ID to remove

Response

Returns confirmation of removal.

{
  "org_id": "org_1d9cb149497656c7...",
  "removed": true,
  "user_id": "usr_476931df38eb2662..."
}

Errors

CodeDescription
not_authenticatedNo active login for this session
not_foundOrganization or membership not found
forbiddenCannot remove the last owner