Skip to main content
GET
/
roles
cURL
curl --request GET \
  --url https://api.lucidtech.ai/{basePath}/roles \
  --header 'Authorization: Bearer <token>'
{
  "nextToken": "<string>",
  "roles": [
    {
      "updatedTime": "<string>",
      "metadata": {},
      "updatedBy": "<string>",
      "createdBy": "<string>",
      "roleId": "<string>",
      "permissions": [
        {
          "resourceId": "<string>",
          "effect": "allow",
          "action": "read"
        }
      ],
      "name": "<string>",
      "createdTime": "<string>",
      "description": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

nextToken
string
maxResults
string

Response

200 response

nextToken
string | null
required
Maximum string length: 4096
roles
object[]
required