[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThis operation updates the status of an existing client user within a specified client account and sponsor buyer account.\u003c/p\u003e\n"],["\u003cp\u003eOnly the user status can be modified during the update, using a PUT request to the provided endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires providing the numerical IDs for the sponsor buyer account, client buyer account, and the user being updated in the URL path.\u003c/p\u003e\n"],["\u003cp\u003eTo authorize, include the 'https://www.googleapis.com/auth/adexchange.buyer' scope.\u003c/p\u003e\n"],["\u003cp\u003eBoth the request and response bodies utilize the ClientUser object for data exchange.\u003c/p\u003e\n"]]],["This document outlines the process to update a client user's status via a `PUT` HTTP request to a specified URL. The URL requires three path parameters: `accountId`, `clientAccountId`, and `userId`, all numerical identifiers. The request body must include a `ClientUser` instance, and a successful response will also return a `ClientUser` instance. Authorization requires the `https://www.googleapis.com/auth/adexchange.buyer` OAuth scope. gRPC Transcoding syntax is used.\n"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates an existing client user. Only the user status can be changed on update.\n\nHTTP request\n\n`PUT https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `accountId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Numerical account ID of the client's sponsor buyer. (required) |\n| `clientAccountId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Numerical account ID of the client buyer that the user to be retrieved is associated with. (required) |\n| `userId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Numerical identifier of the user to retrieve. (required) |\n\nRequest body\n\nThe request body contains an instance of [ClientUser](/authorized-buyers/apis/reference/rest/v2beta1/accounts.clients.users#ClientUser).\n\nResponse body\n\nIf successful, the response body contains an instance of [ClientUser](/authorized-buyers/apis/reference/rest/v2beta1/accounts.clients.users#ClientUser).\n\nAuthorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/adexchange.buyer`"]]