userrisk
List a user permissions
Retrieve the list of permissions granted by a specific user.
Required API key permissions: UserRisk (select when creating API key in Account Settings)
get/user_risk/users/permissions/list
Request
- Base URLhttps://cyber-risk.upguard.com/api/public
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
page_sizeinteger
The page size of results to return. If not supplied, default is 100.
page_tokenstring
The page_token from a previous request, use this to get the next page of results.
sort_by'name' | 'exposure_level'
The field to sort results by. Default is name.
sort_dir'asc' | 'desc'
The direction to sort results. Default is asc.
idstring required
The ID of the user to retrieve the permissions for
Response
The list of permissions granted by a user
Example response
{
"next_page_token": "acbd18db4cc2f85cedef654fccc4a4d8",
"permissions": [
{
"access_level": "read_only",
"app_names": [
"Adobe",
"Asana"
],
"category": "Google User",
"description": "View your email address",
"exposure_level": "basic",
"id": "https://www.googleapis.com/auth/userinfo.email",
"name": "https://www.googleapis.com/auth/userinfo.email"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.