- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Creates a new OauthClientCredential
.
HTTP request
POST https://iam.googleapis.com/v1/{parent=projects/*/locations/*/oauthClients/*}/credentials
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource to create the |
Query parameters
Parameters | |
---|---|
oauth |
Required. The ID to use for the |
Request body
The request body contains an instance of OauthClientCredential
.
Response body
If successful, the response body contains a newly created instance of OauthClientCredential
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/iam
For more information, see the Authentication Overview.