Method: buyers.clients.deactivate

  • The deactivate method is used to change a client's state to "INACTIVE".

  • This method utilizes an HTTP POST request with a specific URL format including buyer and client account IDs.

  • The request body for deactivating a client must be empty.

  • A successful response will contain an instance of a Client object.

  • The deactivation process requires the https://www.googleapis.com/auth/authorized-buyers-marketplace authorization 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