---
title: Delete Application Token Account
slug: kron-pam-api-collection-3-9-0/delete-application-token-account
docTags: 
createdAt: 2026-10-21T06:10:28.166Z
---

{
  "id": "FABCb3G6BUvu_lxXAiGX7",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "http://localhost/aioc-rest-web/rest/aapm/deleteAapmAccounts",
    "name": "",
    "description": "<h3>Request Overview</h3>\n<p>The <strong>Delete Application Token Account</strong> method allows you to delete Application Token accounts using the <code>db_id</code> of the account.</p>\n<h4>Usage:</h4>\n<ul>\n<li>Provide the <code>db_id</code> of the Application Token account you wish to delete in the request.</li>\n</ul>",
    "contentType": "application/json",
    "request": {
      "headerParameters": [
        {
          "name": "x-xsrf-token",
          "description": "",
          "default": "{{x-xsrf-token}}",
          "value": "{{x-xsrf-token}}",
          "type": "string"
        }
      ],
      "queryParameters": [],
      "pathParameters": [],
      "bodyDataParameters": [
        {
          "name": "body",
          "description": "",
          "default": "{\"dbId\": 963708}",
          "value": "{\"dbId\": 963708}",
          "type": "object"
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "",
        "jsonExample": ""
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "sBnV9qFg_c_MbL-0SJn7C",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url http://localhost/aioc-rest-web/rest/aapm/deleteAapmAccounts \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --header 'x-xsrf-token: {{x-xsrf-token}}' \\\n     --data '\"{\\\"dbId\\\": 963708}\"'"
        },
        {
          "id": "4erEfHYJO9SfHkfqnqYfH",
          "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\", \"{{x-xsrf-token}}\");\n\nvar raw = JSON.stringify(\"{\\\"dbId\\\": 963708}\");\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"http://localhost/aioc-rest-web/rest/aapm/deleteAapmAccounts\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "dTIFIOG9KcEugWGKoz72t",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"http://localhost/aioc-rest-web/rest/aapm/deleteAapmAccounts\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest[\"x-xsrf-token\"] = \"{{x-xsrf-token}}\"\nrequest.body = JSON.dump(\"{\\\"dbId\\\": 963708}\")\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "M1JZYrYBEeczFxKEtGXPt",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"http://localhost/aioc-rest-web/rest/aapm/deleteAapmAccounts\"\n\npayload = json.dumps(\"{\\\"dbId\\\": 963708}\")\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json',\n   'x-xsrf-token': '{{x-xsrf-token}}'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "sBnV9qFg_c_MbL-0SJn7C"
    },
    "results": {
      "languages": [
        {
          "id": "Vo7Vde8fT1RWRkwW3FQjp",
          "language": "200",
          "code": ""
        }
      ],
      "selectedLanguageId": "Vo7Vde8fT1RWRkwW3FQjp"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}