Get Personal Access Token

GET /auth/pats/{tokenId}

Get a specific personal access token

Required Permissions

NameConditions

Auth:Users:Read

Always Required

Auth:Types:Pat

Always Required

Parameters

tokenId *

the ID of the personal access token to get

Example

/auth/pats/to-em7bu-m6c48-hdqoobj7dj24pko

Responses

Success - The requested personal access token

{
  "dateCreated": "2023-03-16T20:17:35.291Z",
  "credId": "Y2ktMWYxcTWtN3ZzbSAtODVhcZ5kY2lwZTY3ZTgwMg",
  "isActive": true,
  "kind": "Pat",
  "linkedUserId": "us-24vwa-92s33-8tvqi1dg0a95megt",
  "linkedAppId": "",
  "name": "My PAT",
  "orgId": "or-yanke-mars-6ulofamogg8fs87v",
  "permissionAssignments": [
    {
      "permissionId": "pm-mars-lithi-17bf4kf0548ajph4",
      "permissionName": "WalletAdmin",
      "assignmentId": "",
      "operations": [
        "Auth:Action:Sign",
        "Auth:Apps:Read",
        "Auth:Types:Application",
        "Auth:Types:Employee",
        "Auth:Types:EndUser",
        "Auth:Types:Pat",
        "Auth:Types:ServiceAccount",
        "Auth:Users:Read",
        "Balances:Read",
        "Payments:Create",
        "Payments:Read",
        "PublicKeyAddresses:Read",
        "PublicKeys:Create",
        "PublicKeys:Read",
        "Signatures:Create",
        "Signatures:Read",
        "Transactions:Create",
        "Transactions:Read",
        "Wallets:Create",
        "Wallets:Read",
        "Wallets:Update"
      ]
    }
  ],
  "publicKey": "SHA256:lH6mAX/74SbZzSjwNAFApwJsUdccVQzA8yj7K8/R5el",
  "tokenId": "to-7vwr2-h2f29-9m6a0fmkk7rr2hj7"
}

Last updated