Get all available organization roles for the deployment
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"
}
]
JWT Bearer token authentication using the Authorization header
Successful response
The response is of type object[]
.
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"
}
]