Method: networks.cmsMetadataKeys.batchDeactivate

API to deactivate a list of CmsMetadataKey objects.

HTTP request

POST https://admanager.googleapis.com/v1/{parent}/cmsMetadataKeys:batchDeactivate

Path parameters

Parameters
parent

string

Required. The parent resource where CmsMetadataKeys will be deactivated. Format: networks/{networkCode}

Request body

The request body contains data with the following structure:

JSON representation
{
  "names": [
    string
  ]
}
Fields
names[]

string

Required. The resource names of the CmsMetadataKeys to deactivate. Format: networks/{networkCode}/cmsMetadataKeys/{cmsMetadataKeyId}

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/admanager

For more information, see the OAuth 2.0 Overview.