Prisma

Get user roles

Get roles assigned to a user.

GET
/api/v1/admin/roles/{user_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

user_id*User Id

User ID

Response Body

application/json

application/json

curl -X get "http://localhost:8000/api/v1/admin/roles/string"
[
  {
    "grant_id": "string",
    "project_id": "string",
    "role_keys": [
      "string"
    ]
  }
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}