Team members

Add a member to a team

Authorization

A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:

Service Token Accesses write_teams

OAuth Scopes

ResourceScopes
Organizationwrite_organization
post/organizations/{organization}/teams/{team}/members

Path parameters

organizationstring required

The name of the organization

teamstring required

The slug of the team

Request body

user_idstring required

The ID of the organization member to add to the team

Response

Returns the created team membership

idstring required

The ID of the team membership

created_atstring required

When the membership was created

updated_atstring required

When the membership was last updated

Changes

Changed in 2 of the 24 revisions of this API.183

  • 72506953f367182See the full diff
    • the response property passwords/items/actor became nullable for the status 200

      response-property-became-nullable

    • the response property passwords/items/cidrs became nullable for the status 200

      response-property-became-nullable

    • the response property passwords/items/deleted_at became nullable for the status 200

      response-property-became-nullable

    • the response property passwords/items/expires_at became nullable for the status 200

      response-property-became-nullable

    • the response property passwords/items/last_used_at became nullable for the status 200

      response-property-became-nullable

    • the response property passwords/items/plain_text became nullable for the status 200

      response-property-became-nullable

    • the response property passwords/items/ttl_seconds became nullable for the status 200

      response-property-became-nullable

    • the response property user/default_organization became nullable for the status 200

      response-property-became-nullable

    • the response property user/default_organization/deleted_at became nullable for the status 200

      response-property-became-nullable

    • the response property user/directory_managed became nullable for the status 200

      response-property-became-nullable

    • the response property user/email_verified became nullable for the status 200

      response-property-became-nullable

    • the response property user/managed became nullable for the status 200

      response-property-became-nullable

    • the response property user/sso became nullable for the status 200

      response-property-became-nullable

    • the response property user/default_organization became optional for the status 200

      response-property-became-optional

    • the response property user/directory_managed became optional for the status 200

      response-property-became-optional

    • the response property user/email_verified became optional for the status 200

      response-property-became-optional

    • the response property user/managed became optional for the status 200

      response-property-became-optional

    • the response property user/sso became optional for the status 200

      response-property-became-optional

    • added the required property passwords/items/region/mysql_supported to the response with the 200 status

      response-required-property-added

    • added the required property passwords/items/region/postgresql_supported to the response with the 200 status

      response-required-property-added

    • endpoint added

      endpoint-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog