v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13103333.0 KB
domains

Developer Preview: Updates a user for a domain. Only Owners and Admins can execute this RPC, only a user's domain permission will be allowed to be updated. Returns NOT_FOUND if the user does not exist. Returns INVALID_ARGUMENT if a permission is not provided or is PERMISSION_UNSPECIFIED, NONE, or OWNER.

patch/v2/{+name}

Path parameters

namestring required

Identifier. The resource name of the user. Format: users/{user} Note: {user} is the user's email address.

Query parameters

updateMaskstring

The list of fields to update.

Request body

userstring

The user's email address.

namestring

Identifier. The resource name of the user. Format: users/{user} Note: {user} is the user's email address.

permission'PERMISSION_UNSPECIFIED' | 'READER' | 'ADMIN' | 'OWNER' | 'NONE'

The permission level that the user has for the specified domain.

accessGranterstring

Output only. The user that added the current user.

createTimestring google-datetime

Output only. The time the user was granted access.

Response

Successful response