- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Lists every predefined
Role that IAM supports, or every custom role that is defined for an organization or project.
The URL uses gRPC Transcoding syntax.
Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.
Authorization requires the following IAM permission on the specified resource
Optional limit on the number of roles to include in the response.
Optional pagination token returned in an earlier ListRolesResponse.
Optional view for the returned Role objects. When
Include Roles that have been deleted.
The request body must be empty.
If successful, the response body contains an instance of
Requires one of the following OAuth scopes:
For more information, see the Authentication Overview.