AI-generated Key Takeaways
-
This document outlines how to create a new label not assigned to any account using an HTTP POST request to the specified Google CSS API endpoint.
-
The request requires a
parent
path parameter indicating the parent account. -
The request body should contain an instance of
AccountLabel
, and a successful response will return a newly createdAccountLabel
instance. -
This operation requires the
https://www.googleapis.com/auth/content
OAuth scope for authorization.
Creates a new label, not assigned to any account.
HTTP request
POST https://css.googleapis.com/v1/{parent=accounts/*}/labels
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent account. Format: accounts/{account} |
Request body
The request body contains an instance of AccountLabel
.
Response body
If successful, the response body contains a newly created instance of AccountLabel
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.