userrisk
List permission users
Retrieve a list of users who granted a specific permission.
Required API key permissions: User Risk (select when creating API key in Account Settings)
get/user_risk/permissions/users/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'id' | 'email' | 'name' | 'risk_rating'
The field to sort results by. Default is id.
sort_dir'asc' | 'desc'
The direction to sort results. Default is asc.
idstring required
The unique identifier of the permission.
Response
A list of users who granted the permission
Example response
{
"next_page_token": "acbd18db4cc2f85cedef654fccc4a4d8",
"users": [
{
"email": "alex.founder@example.com",
"id": "9c22b2c4-9f5b-4547-8e36-64bdbebd7184",
"name": "Alex Founder",
"risk_rating": 750,
"role": "developer",
"team": "product"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.