Applications

Get application access roles

Changed on

Gets the roles configured as allowed to access an application. These roles are enforced only when role-based access control is enabled for the application.

<div> <code>read:applications</code> </div>
get/api/v1/applications/{application_id}/access_roles

Request

  • Base URL: https://your_kinde_subdomain.kinde.com
  • URL: https://your_kinde_subdomain.kinde.com/api/v1/applications/{application_id}/access_roles
  • Auth: HTTP bearer

Path parameters

application_idstring required
Example:20bbffaa4c5e492a962273039d4ae18b

The identifier/client ID for the application.

Query parameters

page_sizeinteger

Number of results per page. Defaults to 10 if parameter not sent.

starting_afterstring

The ID of the role to start after.

ending_beforestring

The ID of the role to end before.

Response

Application access roles successfully retrieved.

codestring

Response code.

messagestring

Response message.

has_moreboolean

Whether more records exist.

Example response

{
  "roles": [
    {
      "id": "0192c16a-bb53-b442-77e5-97d31877ba5b",
      "key": "admin",
      "name": "Administrator",
      "description": "Full access to all resources."
    }
  ]
}

Changes