Method: buyers.clients.deactivate

  • This method deactivates an existing client by updating its state to "INACTIVE".

  • The deactivation request uses a POST HTTP request with a specified URL containing path parameters for buyer and client account IDs.

  • The request body for deactivation must be empty.

  • A successful response returns an instance of the Client resource.

  • This operation requires the https://www.googleapis.com/auth/authorized-buyers-marketplace OAuth scope for authorization.

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