AI-generated Key Takeaways
-
This document outlines how to get a list of user role permissions using an HTTP GET request.
-
The request uses a
profileIdas a path parameter to specify the user profile. -
Optional filtering can be applied using the
ids[]query parameter. -
The request body must be empty, and the successful response body will contain a list of user role permissions.
-
The request requires the
https://www.googleapis.com/auth/dfatraffickingOAuth scope for authorization.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Gets a list of user role permissions, possibly filtered.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/userRolePermissions
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
User profile ID associated with this request. |
Query parameters
| Parameters | |
|---|---|
ids[] |
Select only user role permissions with these IDs. |
Request body
The request body must be empty.
Response body
User Role Permission userRolePermissions.list Response
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"kind": string,
"userRolePermissions": [
{
object ( |
| Fields | |
|---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
userRolePermissions[] |
User role permission collection. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking