Method: projects.brands.create

Constructs a new OAuth brand for the project if one does not exist. The created brand is "internal only", meaning that OAuth clients created under it only accept requests from users who belong to the same G Suite organization as the project. The brand is created in an un-reviewed status. NOTE: The "internal only" status can be manually changed in the Google Cloud console. Requires that a brand does not already exist for the project, and that the specified support email is owned by the caller.

HTTP request

POST https://iap.googleapis.com/v1/{parent=projects/*}/brands

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. GCP Project number/id under which the brand is to be created. In the following format: projects/{project_number/id}.

Authorization requires the following Google IAM permission on the specified resource parent:

  • clientauthconfig.brands.create

Request body

The request body contains an instance of Brand.

Response body

If successful, the response body contains a newly created instance of Brand.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

Try it!