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 Google Workspace 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/{projectNumber/id}.

Authorization requires the following 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.