Skip to main content
GET
/
api
/
v1
/
roles
List roles
curl --request GET \
  --url https://api.dualship.run/api/v1/roles \
  --header 'Authorization: Bearer <token>'
{
  "roles": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440002",
      "name": "admin"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.dualship.run/llms.txt

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

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Response

List of roles

List of available roles

roles
object[]