Authentication

Retrieve the list of roles for a specific token

get/token/roles

Request

  • Base URL: http://localhost:8000/v1
  • URL: http://localhost:8000/v1/token/roles
  • Auth: HTTP bearer

Response

Successfully retrieved token roles

rolesstring[] required

List of roles for the token

Example response

{
  "roles": [
    "user"
  ]
}

Changes