accounts

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

Changed on

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

Request

  • Base URL
    https://adexchangebuyer.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/adexchange.buyer
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/adexchange.buyer

Path parameters

accountIdstring int64 required

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

clientAccountIdstring int64 required

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

userIdstring int64 required

Numerical identifier of the user to retrieve. (required)

Request body

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.

emailstring

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

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

The status of the client user.

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.

Response

Successful response

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.

emailstring

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

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

The status of the client user.

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.

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status