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"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Response

List of roles

List of available roles

roles
object[]