- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Updates a Role definition.
HTTP request
PATCH https://iam.googleapis.com/v1/{name=projects/*/roles/*}
The URL uses Google API HTTP annotation syntax.
Path parameters
Parameters | |
---|---|
name |
The resource name of the role in one of the following formats: Authorization requires the following Google IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
updateMask |
A mask describing which fields in the Role have changed. A comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Role
.
Response body
If successful, the response body contains an instance of Role
.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/iam
https://www.googleapis.com/auth/cloud-platform
For more information, see the Auth Guide.