userrisk

List app permissions

Retrieve a list of permissions granted to a specific application.

Required API key permissions: User Risk (select when creating API key in Account Settings)

get/user_risk/apps/permissions/list

Request

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' | 'num_users'

The field to sort results by. Default is name.

sort_dir'asc' | 'desc'

The direction to sort results. Default is asc.

app_namestring required

The name of the application.

Response

A list of permissions granted to the application

next_page_tokenstring

The token to be used to retrieve the next page of results. Will not be returned if there are no more results.

Example response

{
  "next_page_token": "acbd18db4cc2f85cedef654fccc4a4d8",
  "permissions": [
    {
      "access_level": "read_only",
      "category": "User Management",
      "description": "Read user profiles",
      "exposure_level": "basic",
      "id": "https://www.googleapis.com/auth/userinfo.email",
      "name": "https://www.googleapis.com/auth/userinfo.email",
      "num_users": 10
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.