GET
/
workspace-roles
Get Deployment Workspace Roles
curl --request GET \
  --url https://api.wacht.dev/workspace-roles \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "Admin",
    "description": "<string>",
    "permissions": [
      "workspace.manage",
      "members.invite",
      "members.remove"
    ],
    "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

The response is of type object[].