Skip to main content

List Roles

GET 

https://app.infodeck.io/api/organizations/:organizationId/roles

List Roles

Request

Path Parameters

    organizationId stringrequired

    The ID of the organization whose roles are to be listed.

Query Parameters

    maxResults number

    Possible values: >= 10 and <= 100

    The maximum number of results to return.

    nextToken string

    A token to retrieve the next set of results, used for pagination.

Responses

Schema
    data object[]required

    Data of the created role including its ID, description, policies, and timestamps..

  • Array [
  • id stringrequired
    description stringrequired
    policies object[]required
  • Array [
  • resources string[]required
    actions string[]required
    effect stringrequired
  • ]
  • createdBy stringrequired
    createdAtDateString stringrequired
    createdAt numberrequired
    updatedAtDateString stringrequired
    updatedAt numberrequired
  • ]

Authorization: http

name: usertype: httpscheme: bearerbearerFormat: JWTdescription: Get your API token via POST /authentications/tokens
curl -L -X GET 'https://app.infodeck.io/api/organizations/:organizationId/roles' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://app.infodeck.io/api
Auth
Parameters
— pathrequired
— query
— query
ResponseClear

Click the Send API Request button above and see the response here!