Skip to main content
POST
Add member to group

Authorizations

Authorization
string
header
required

Bearer token authentication using OAuth2/OIDC tokens

Path Parameters

groupId
string
required

Group resource identifier.

Body

application/json
userId
string
required

User identifier to add as a group member.

Example:

"user-v5w6x7"

Response

Member added to the group.

A membership record linking a user to a group. Addressable as a sub-resource of the parent group.

uid
string<uuid>
required
read-only

Server-generated UUID. Immutable.

id
string
required
read-only

Resource identifier. Server-generated, immutable.

Example:

"member-a1b2c3"

groupId
string
required
read-only

The parent group this membership belongs to.

Example:

"group-d5e6f7"

userId
string
required

User identifier of the group member.

Example:

"user-v5w6x7"

addedAt
string<date-time>
required
read-only

Timestamp when the member was added to the group.

Server-defined URL for this resource.

Example:

"/v1/regions/global/iam/groups/group-d5e6f7/members/member-a1b2c3"

displayName
string
read-only

Display name of the member (read-only, denormalized from the user record).

email
string<email>
read-only

Email of the member (read-only, denormalized from the user record).

addedBy
string
read-only

User or service account ID that added this member.