Skip to main content

List organization roles

Returns a list of custom roles created under an organization with their associated permissions

Path Parameters
    org_id string required
Query Parameters
    state string
    scopes string[]
Responses

A successful response.


Schema
    roles object[]
  • Array [
  • id string
    name string
    permissions string[]
    title string
    metadata object
    created_at date-time

    The time the role was created.

    updated_at date-time

    The time the role was last updated.

    org_id string
    state string
    scopes string[]
  • ]
GET /v1beta1/organizations/:org_id/roles

Authorization

name: Basic type: httpdescription: use Client ID as username and Client Secret as passwordin: headerscheme: basic

Request

Base URL
http://127.0.0.1:7400
Security Scheme
Username
Password
org_id — path required
state — query
scopes — query
curl / cURL
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/organizations/:org_id/roles' \
-H 'Accept: application/json'