Skip to main content
GET
/
organization-roles
Get Deployment Organization Roles
curl --request GET \
  --url https://api.wacht.dev/organization-roles \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "Owner",
    "description": "<string>",
    "permissions": [
      "org.manage",
      "billing.manage",
      "members.manage"
    ],
    "is_default": false,
    "created_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

JWT Bearer token authentication using the Authorization header

Response

Successful response

id
string

(i64 formatted as string)

name
string
Example:

"Owner"

description
string | null
permissions
string[]
Example:
[
"org.manage",
"billing.manage",
"members.manage"
]
is_default
boolean
Example:

false

created_at
string<date-time>