Skip to main content
GET
/
auth
/
pats
List Personal Access Tokens
curl --request GET \
  --url https://api.dfns.io/auth/pats \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "accessToken": "<string>",
      "dateCreated": "<string>",
      "credId": "<string>",
      "isActive": true,
      "kind": "Pat",
      "linkedUserId": "<string>",
      "linkedAppId": "<string>",
      "name": "<string>",
      "orgId": "<string>",
      "permissionAssignments": [
        {
          "permissionName": "<string>",
          "permissionId": "<string>",
          "assignmentId": "<string>",
          "operations": [
            "<string>"
          ]
        }
      ],
      "publicKey": "<string>",
      "tokenId": "<string>"
    }
  ]
}

Authentication

✅ Organization User (CustomerEmployee)
✅ Delegated User (EndUser)
✅ Service Account

Required Permissions

No permission required.

Authorizations

Authorization
string
header
required

Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows

Response

200 - application/json

Success

items
object[]
required
I