---
title: List Vault Accounts Bound to the Application Token Account
slug: kron-pam-api-collection-3-9-0/list-vault-accounts-bound-to-the-application-token-account
docTags: 
createdAt: 2026-10-21T06:10:28.166Z
---

{
  "id": "JecMv5ZI3UIzGH3OpXPnQ",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "{{url}}/aioc-rest-web/rest/aapm/request/listSAPMAccounts?token=TOKEN",
    "name": "",
    "description": "<h3>Request Overview</h3>\n<p>The <strong>List Vault Accounts Bound to the Application Token Account</strong> method lists the Vault accounts associated with a given Application Token account.</p>\n<h4>Usage:</h4>\n<ul>\n<li><strong>Allow Listing Accounts</strong>: Ensure that the \"Allow Listing Accounts\" checkbox is checked in the GUI for the account. This setting is required for the method to return a response listing the bound Vault accounts.</li>\n</ul>",
    "contentType": "application/json",
    "request": {
      "headerParameters": [
        {
          "name": "Content-Type",
          "description": "",
          "default": "application/json",
          "value": "application/json",
          "type": "string"
        },
        {
          "name": "X-XSRF-TOKEN",
          "description": "",
          "default": "{{csrftoken}}",
          "value": "{{csrftoken}}",
          "type": "string"
        }
      ],
      "queryParameters": [
        {
          "name": "token",
          "description": "AAPM token",
          "default": "TOKEN",
          "value": "TOKEN",
          "type": "string"
        }
      ],
      "pathParameters": [
        {
          "name": "url",
          "description": "",
          "default": "url",
          "value": "url",
          "type": "string"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "",
        "jsonExample": ""
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "RckNOI9lJ6Kz_1KFP8-Sc",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url '{{url}}/aioc-rest-web/rest/aapm/request/listSAPMAccounts?token=TOKEN&token=TOKEN' \\\n     --header 'accept: application/json' \\\n     --header 'x-xsrf-token: {{csrftoken}}'"
        },
        {
          "id": "pEFPu4IUkDKLOG1hIfxpI",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\nmyHeaders.append(\"x-xsrf-token\", \"{{csrftoken}}\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"{{url}}/aioc-rest-web/rest/aapm/request/listSAPMAccounts?token=TOKEN&token=TOKEN\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "n1EY0PBMLQcuJZiitmR4H",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"{{url}}/aioc-rest-web/rest/aapm/request/listSAPMAccounts?token=TOKEN&token=TOKEN\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest[\"x-xsrf-token\"] = \"{{csrftoken}}\"\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "Mt5H3XsFre8r2Ux-9ezZU",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"{{url}}/aioc-rest-web/rest/aapm/request/listSAPMAccounts?token=TOKEN&token=TOKEN\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json',\n   'x-xsrf-token': '{{csrftoken}}'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "RckNOI9lJ6Kz_1KFP8-Sc"
    },
    "results": {
      "languages": [
        {
          "id": "YmMIpJRvr1c7VHb1rwbZr",
          "language": "200",
          "code": ""
        }
      ],
      "selectedLanguageId": "YmMIpJRvr1c7VHb1rwbZr"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}