v1

latestOpenAPI 3.1.02026-07-26106201349.6 KB
Gateway

Update User

patch/v1/accounts/{account_id}/users/{user_id}

Path parameters

account_idstring required

The Account Id

user_idstring required

The User Id

Request body

displayNamestring

Human-readable display name of the user. e.g. "Alice" Must be fewer than 64 characters long.

serviceAccountboolean
createTimestring date-time

The creation time of the user.

rolestring required

The user's role: admin, user, contributor, inference-user, or custom. When set to "custom", the user's permissions are governed by permission_preset.

emailstring

The user's email address.

state'STATE_UNSPECIFIED' | 'CREATING' | 'READY' | 'UPDATING' | 'DELETING'
updateTimestring date-time

The update time for the user.

permissionPresetstring

The permission preset for this user. Only valid when role is "custom".

Response

A successful response.

namestring
displayNamestring

Human-readable display name of the user. e.g. "Alice" Must be fewer than 64 characters long.

serviceAccountboolean
createTimestring date-time

The creation time of the user.

rolestring required

The user's role: admin, user, contributor, inference-user, or custom. When set to "custom", the user's permissions are governed by permission_preset.

emailstring

The user's email address.

state'STATE_UNSPECIFIED' | 'CREATING' | 'READY' | 'UPDATING' | 'DELETING'
updateTimestring date-time

The update time for the user.

permissionPresetstring

The permission preset for this user. Only valid when role is "custom".