Teams

Add team members

Changed on

Add up to 100 active organization members to a team atomically. Existing memberships are unchanged and previously removed memberships are restored.

post/teams/{teamId}/members

Request

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/teams/{teamId}/members
  • Auth: none declared

Path parameters

teamIdstring uuid required

Team to add the members to.

Request body

organizationIdstring

Organization to operate on. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).

userIdsstring[] required

User IDs of active organization members to add. Duplicates are ignored.

Response

OK

idsstring[] required

IDs of the active team memberships, including existing members.

Changes

    • breaking

      added the new required request property

    • breaking

      removed the required property from the response with the status

    • warning

      removed the request property

    • info

      added the required property to the response with the status