List role assignments for a user

GET /v1/security/users/roles

Query parameters

  • filter string

    Return only roles whose names match this substring

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • roles array[object]
      Hide roles attribute Show roles attribute object
      • name string
  • 401

    Unauthorized

GET /v1/security/users/roles
curl \
 --request GET 'http://localhost:9644/v1/security/users/roles'
Response examples (200)
{
  "roles": [
    {
      "name": "string"
    }
  ]
}