SpaceService

POST /api/spaces/{space}/invitations/{invitation}:accept

Changed on

AcceptSpaceInvitation accepts a pending invitation and creates a membership with the invited role. Only the invitee can accept it.

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

spacestring required

The space id.

invitationstring required

The invitation id.

Request body

namestring required

Required. The resource name of the invitation. Format: spaces/{space}/invitations/{invitation}

Response

OK

namestring

Identifier. The resource name of the membership. The member segment is the member's username. Format: spaces/{space}/members/{member}

userstring required

Required. The member user. Format: users/{user}

role'ROLE_UNSPECIFIED' | 'ADMIN' | 'USER' enum required

Required. The member's role within this space.

Changes