v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1350108168.1 KB
accounts

Updates an existing client user. Only the user status can be changed on update.

put/v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}

Path parameters

accountIdstring required

Numerical account ID of the client's sponsor buyer. (required)

clientAccountIdstring required

Numerical account ID of the client buyer that the user to be retrieved is associated with. (required)

userIdstring required

Numerical identifier of the user to retrieve. (required)

Request body

userIdstring int64

The unique numerical ID of the client user that has accepted an invitation. The value of this field is ignored in an update operation.

clientAccountIdstring int64

Numerical account ID of the client buyer with which the user is associated; the buyer must be a client of the current sponsor buyer. The value of this field is ignored in an update operation.

status'USER_STATUS_UNSPECIFIED' | 'PENDING' | 'ACTIVE' | 'DISABLED'

The status of the client user.

emailstring

User's email address. The value of this field is ignored in an update operation.

Response

Successful response