Access
Preview

The permission catalog, grouped for the role editor

GET
/permissions
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

Response Body

Every permission key Wardn checks.

application/json
  1. response
groups*array<>
Example Request
curl -X GET 'https://wardn.example.com/api/v1/permissions'
Example Response
{  "groups": [    {      "group": "string",      "permissions": [        {          "key": "string",          "label": "string",          "duty": true        }      ]    }  ]}