Method: buyers.clients.deactivate

  • Deactivates an existing client, setting its state to "INACTIVE" if it's not already.

  • Requires an HTTP POST request to a specific URL with buyer and client IDs.

  • The request body should be empty, and a successful response returns the Client object.

  • Authorization requires the https://www.googleapis.com/auth/authorized-buyers-marketplace scope.

Deactivates an existing client. The state of the client will be updated to "INACTIVE". This method has no effect if the client is already in "INACTIVE" state.

HTTP request

POST https://authorizedbuyersmarketplace.googleapis.com/v1/{name=buyers/*/clients/*}:deactivate

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Format: buyers/{buyerAccountId}/clients/{clientAccountId}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Client.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/authorized-buyers-marketplace