Resource: ClientUser
A client user is created under a client buyer and has restricted access to the Marketplace and certain other sections of the Authorized Buyers UI based on the role granted to the associated client buyer.
The only way a new client user can be created is through accepting an email invitation
(see the accounts.clients.invitations.create
method).
All fields are required unless otherwise specified.
JSON representation | |
---|---|
{
"userId": string,
"clientAccountId": string,
"status": enum ( |
Fields | |
---|---|
userId |
The unique numerical ID of the client user that has accepted an invitation. The value of this field is ignored in an update operation. |
clientAccountId |
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 |
The status of the client user. |
email |
User's email address. The value of this field is ignored in an update operation. |
UserStatus
Valid user status.
Enums | |
---|---|
USER_STATUS_UNSPECIFIED |
A placeholder for an undefined user status. |
PENDING |
A user who was already created but hasn't accepted the invitation yet. |
ACTIVE |
A user that is currently active. |
DISABLED |
A user that is currently disabled. |
Methods |
|
---|---|
|
Retrieves an existing client user. |
|
Lists all the known client users for a specified sponsor buyer account ID. |
|
Updates an existing client user. |