SpaceService

CreateSpaceInvitation invites an existing active user to a space.

post/api/v1/spaces/{space}/invitations

Path parameters

spacestring required

The space id.

Request body

namestring

The resource name. Format: spaces/{space}/invitations/{username}.

inviteestring required

Required. The invited user. Format: users/{username}.

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

Required. The role the user will receive after accepting the invitation.

Response

OK

namestring

The resource name. Format: spaces/{space}/invitations/{username}.

inviteestring required

Required. The invited user. Format: users/{username}.

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

Required. The role the user will receive after accepting the invitation.

Changes