Method: buyers.dataSegments.deactivate

  • The API allows for deactivating a data segment using a POST request.

  • The request requires a name path parameter to specify the data segment to deactivate.

  • The request body for deactivating a data segment must be empty.

  • A successful deactivation returns an instance of DataSegment in the response body.

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