Skip to main content

List Roles

GET 

/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
  • ]
Loading...