v2

latestOpenAPI 3.1.0CC-BY-SA 2.02026-07-2617789528.6 KB
API account management

List all API accounts

List all API accounts. No secret data are returned.

get/apiaccounts

Response

Directives information

result'success' | 'error' required

Result of the request

action'getAllAccounts' required

The id of the action

Example response

{
  "data": {
    "accounts": [
      {
        "id": "91252ea2-feb2-412d-8599-c6945fee02c4",
        "name": "Audit directives",
        "description": "Read-only account for directive audit",
        "status": "enabled",
        "expirationPolicy": "never",
        "expirationDate": "2025-05-10T23:59:59Z",
        "tokenState": "missing",
        "token": "t1-ca5a50899d25cd3ff148350843a9d435",
        "tokenGenerationDate": "2025-02-12T10:55:00Z",
        "acl": [
          {
            "path": "directives/1ebee8c7-c898-4ee5-9470-139bfd80c442",
            "verb": "get"
          }
        ]
      }
    ]
  }
}