Roles

Get role permissions

Changed on

Get permissions for a role.

<div> <code>read:role_permissions</code> </div>
get/api/v1/roles/{role_id}/permissions

Request

  • Base URL: https://your_kinde_subdomain.kinde.com
  • URL: https://your_kinde_subdomain.kinde.com/api/v1/roles/{role_id}/permissions
  • Auth: HTTP bearer

Path parameters

role_idstring required

The role's public id.

Query parameters

sort'name_asc' | 'name_desc' | 'id_asc' | 'id_desc' nullable

Field and order to sort the result by.

page_sizeinteger nullable

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

next_tokenstring nullable

A string to get the next page of results if there are more results.

Response

A list of permissions for a role

codestring

Response code.

messagestring

Response message.

next_tokenstring

Pagination token.

Changes

    • breaking

      added the new required header request parameter Accept to all path's operations

    • breaking

      the response's body type changed from array to object for status (media type: application/json)

    • breaking

      the response's body type changed from array to object for status (media type: application/json; charset=utf-8)

    • info

      api operation id GetRolePermission removed and replaced with GetRolePermissions

    • info

      the endpoint scheme security kindeBearerAuth was added to the API

    • info

      the endpoint scheme security ManagementAPI was removed from the API

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: application/json; charset=utf-8)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: application/json; charset=utf-8)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: application/json; charset=utf-8)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: application/json; charset=utf-8)

    • info

      the endpoint scheme security ManagementAPI was added to the API

    • info

      the endpoint scheme security kindeBearerAuth was removed from the API