Skip to main content
GET
/
organizations
/
roles
List Roles
curl --request GET \
  --url https://api-sandbox.y.uno/v1/organizations/roles \
  --header 'PRIVATE-SECRET-KEY: <api-key>' \
  --header 'PUBLIC-API-KEY: <api-key>'
[
  {
    "id": "rol_AbCdEfGhIjKl",
    "name": "Admin",
    "description": "<string>",
    "admin": true,
    "permission_ids": [
      "<string>"
    ],
    "testing_permission_ids": [
      "<string>"
    ],
    "role_type": "account",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.y.uno/llms.txt

Use this file to discover all available pages before exploring further.

List Yuno default and organization custom roles.

Authorizations

PUBLIC-API-KEY
string
header
default:<Your PUBLIC-API-KEY>
required
PRIVATE-SECRET-KEY
string
header
default:<Your PRIVATE-SECRET-KEY>
required

Response

200 - application/json

OK

id
string
Example:

"rol_AbCdEfGhIjKl"

name
string
Example:

"Admin"

description
string | null
admin
boolean
permission_ids
string[]
testing_permission_ids
string[]
role_type
enum<string>
Available options:
account,
organization
created_at
string<date-time>
updated_at
string<date-time>