---
title: "GET /userprofiles/{userprofilesId}/userRolePermissions/{userRolePermissionsId}"
method: GET
path: "/userprofiles/{userprofilesId}/userRolePermissions/{userRolePermissionsId}"
tags: ["userRolePermissions"]
---

# GET /userprofiles/{userprofilesId}/userRolePermissions/{userRolePermissionsId}

`GET /userprofiles/{userprofilesId}/userRolePermissions/{userRolePermissionsId}`

## Request

- Base URL: `https://dfareporting.googleapis.com/dfareporting/v5`
- URL: `https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{userprofilesId}/userRolePermissions/{userRolePermissionsId}`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/dfatrafficking`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/dfatrafficking`
- TypeScript: <https://skmtc.dev/google/apis/dfareporting/docs/userprofiles/:userprofilesId/userRolePermissions/:userRolePermissionsId/get.ts> (a function with typed inputs; its response is checked against the schema)

Gets one user role permission by ID.

## Path parameters

- `userprofilesId` string, required
- `userRolePermissionsId` string, required

## Response `200`

Successful response

- UserRolePermission: Contains properties of a user role permission.
  - `availability` 'NOT_AVAILABLE_BY_DEFAULT' | 'ACCOUNT_BY_DEFAULT' | 'SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT' | 'ACCOUNT_ALWAYS' | 'SUBACCOUNT_AND_ACCOUNT_ALWAYS' | 'USER_PROFILE_ONLY': Levels of availability for a user role permission.
  - `id` string, int64: ID of this user role permission.
  - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission".
  - `name` string: Name of this user role permission.
  - `permissionGroupId` string, int64: ID of the permission group that this user role permission belongs to.

---

[API](https://skmtc.dev/google/apis/dfareporting.md) - [All operations](https://skmtc.dev/google/apis/dfareporting/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/dfareporting/revisions/be73a9a450de?raw)
