Update Space Member
UpdateSpaceMember changes a member's space role.
Path Parameters
space*string
The space id.
member*string
The member id.
Query Parameters
updateMask?string
Required. Only role is supported.
Format
field-maskRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
SpaceMember is a user's membership and governance role in a space.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/api/v1/spaces/string/members/string" \ -H "Content-Type: application/json" \ -d '{ "user": "string", "role": "ROLE_UNSPECIFIED" }'{ "name": "string", "user": "string", "role": "ROLE_UNSPECIFIED"}