AI-generated Key Takeaways
-
This API call is used to retrieve a list of user role permissions, with optional filtering capabilities.
-
The request is made using a GET HTTP request to a specified URL that includes a required profile ID path parameter.
-
Optional filtering can be applied using query parameters, specifically by providing a list of user role permission IDs.
-
The request body must be empty, and a successful response will return a JSON object containing a list of user role permissions and a kind identifier.
-
Authorization requires the
https://www.googleapis.com/auth/dfatraffickingOAuth scope.
- 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/v4/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