Method: buyers.dataSegments.deactivate

  • This page details the process of deactivating a data segment via a POST HTTP request.

  • The required URL format for the request includes specific path parameters, notably the name of the data segment to be deactivated.

  • The request body for deactivation must be empty, requiring no additional data to be sent.

  • A successful response will return an instance of the DataSegment, confirming the deactivation.

  • The process requires OAuth authorization using the https://www.googleapis.com/auth/authorized-buyers-marketplace scope.

Deactivates a data segment.

HTTP request

POST https://authorizedbuyersmarketplace.googleapis.com/v1alpha/{name=buyers/*/dataSegments/*}:deactivate

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of data segment to deactivate. v1alpha format: buyers/{accountId}/dataSegments/{curatorDataSegmentId} v1beta format: curators/{accountId}/dataSegments/{curatorDataSegmentId}

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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