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 as path parameters.

  • An empty request body is required, and a successful response returns the updated client details.

  • Authorization is needed using 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/v1alpha/{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