---
title: Get Vault User Info
slug: kron-pam-api-collection-381-patch3/get-vault-user-info
docTags: 
createdAt: 2026-10-21T06:07:16.182Z
---

{
  "id": "ZKti8SmTx7zq7rF5iDOkT",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "{{url}}/aioc-rest-web/rest/sc/sapm/getSapmUserInfo",
    "name": "",
    "description": "<h3>Request Overview</h3>\n<p>Retrieve the user information of a Vault account by sending the <code>dbId</code> of the account you wish to view.</p>\n<ul>\n<li>\n<p><strong>dbId</strong>: ID of the Vault account.</p>\n</li>\n<li>\n<p><strong>username</strong>: Username associated with the Vault account.</p>\n</li>\n<li>\n<p><strong>description:</strong> Optional description or label for the account.</p>\n</li>\n<li>\n<p><strong>passwordSeenStatus:</strong> Indicates whether the password has been viewed.</p>\n</li>\n<li>\n<p><strong>validationStatus:</strong> Status of account validation.</p>\n</li>\n<li>\n<p><strong>nextChangeTime:</strong> Timestamp indicating when the password must next be changed.</p>\n</li>\n<li>\n<p><strong>lastChangeTime:</strong> Timestamp of the last password change.</p>\n</li>\n</ul>",
    "contentType": "application/json",
    "request": {
      "headerParameters": [
        {
          "name": "X-XSRF-TOKEN",
          "description": "",
          "default": "{{csrftoken}}",
          "value": "{{csrftoken}}",
          "type": "string"
        }
      ],
      "queryParameters": [],
      "pathParameters": [
        {
          "name": "url",
          "description": "",
          "default": "url",
          "value": "url",
          "type": "string"
        }
      ],
      "bodyDataParameters": [
        {
          "name": "body",
          "description": "",
          "default": "{\n    \"dbId\": 6335936,\n    \"username\": \"KORY\",\n    \"description\": \"\",\n    \"secretNotes\": null,\n    \"password\": null,\n    \"nextChangeTime\": 1746782309528,\n    \"lastChangeTime\": 1746636602312,\n    \"additionalInfo\": null,\n    \"passwordSeenStatus\": \"SEEN\",\n    \"validationStatus\": \"VALID\",\n    \"lastAttemptStatus\": null,\n    \"approvalStatus\": null,\n    \"groupFullPath\": null\n}",
          "value": "{\n    \"dbId\": 6335936,\n    \"username\": \"KORY\",\n    \"description\": \"\",\n    \"secretNotes\": null,\n    \"password\": null,\n    \"nextChangeTime\": 1746782309528,\n    \"lastChangeTime\": 1746636602312,\n    \"additionalInfo\": null,\n    \"passwordSeenStatus\": \"SEEN\",\n    \"validationStatus\": \"VALID\",\n    \"lastAttemptStatus\": null,\n    \"approvalStatus\": null,\n    \"groupFullPath\": null\n}",
          "type": "object"
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Get Vault User Info",
        "jsonExample": "[\n    {\n        \"dbId\": 415240,\n        \"configId\": -9077,\n        \"configName\": \"Linux\",\n        \"configStrategy\": \"SSH\",\n        \"username\": \"newuser\",\n        \"sapmIdentifier\": \"newuser@/\",\n        \"description\": \"\",\n        \"secretNotes\": null,\n        \"password\": null,\n        \"prevPassword\": null,\n        \"nextChangeTime\": 1745402766713,\n        \"lastChangeTime\": 1741822980085,\n        \"additionalInfo\": null,\n        \"passwordSeenStatus\": \"UNSEEN\",\n        \"validationStatus\": \"INVALID\",\n        \"lastAttemptStatus\": null,\n        \"approvalStatus\": null,\n        \"eventUserEid\": \"admin\",\n        \"ip\": \"10.20.42.19\",\n        \"hostName\": \"10.20.42.19\",\n        \"groupId\": null,\n        \"groupName\": null,\n        \"groupFullPath\": null,\n        \"groupDbId\": null,\n        \"firstPartSeenUser\": null,\n        \"secondPartSeenUser\": null,\n        \"deviceId\": \"5cb2eac9-4bb0-43bc-83fb-a899265a9c9f\",\n        \"permissions\": [],\n        \"managers\": [],\n        \"escalatedManagers\": [],\n        \"notificationGroups\": [],\n        \"userPermissionLevel\": 6,\n        \"masterAccountId\": null,\n        \"isApprovalRequired\": false,\n        \"isManager\": false,\n        \"secretName\": \"newuser\",\n        \"secretType\": \"DYNAMIC\",\n        \"owner\": {\n            \"id\": \"25e53f47-ce66-4df2-9abc-6961dc668264\",\n            \"eid\": \"admin\",\n            \"name\": null,\n            \"firstName\": null,\n            \"surname\": null,\n            \"email\": null,\n            \"phoneNumber\": null,\n            \"smsEnabled\": null,\n            \"firstResult\": 0,\n            \"maxResult\": 50,\n            \"enabled\": false,\n            \"hasToken\": false,\n            \"createDate\": null,\n            \"appKeyId\": 0,\n            \"token\": null,\n            \"tokenDate\": null,\n            \"secretKey\": null,\n            \"qrImage\": null,\n            \"rawSecret\": null,\n            \"internal\": false,\n            \"personelId\": null,\n            \"forcePasswordChangeOnNextLogin\": false,\n            \"isLocked\": false,\n            \"lockReason\": null,\n            \"password\": null,\n            \"secondPassword\": null,\n            \"userPropertyKey4Search\": null,\n            \"userPropertyValue4Search\": null,\n            \"recordLimit\": null,\n            \"location\": null,\n            \"passwordAlgorithm\": null,\n            \"passwordDirty\": false,\n            \"passwordAutoGenerated\": false,\n            \"secondPasswordChange\": false,\n            \"groups\": null,\n            \"managerGroups\": null,\n            \"properties\": null,\n            \"tempUser\": false,\n            \"tempUserStartTime\": null,\n            \"tempUserEndTime\": null,\n            \"delegations\": null,\n            \"userProperties\": null\n        },\n        \"privateType\": \"YES\",\n        \"changePeriod\": 7,\n        \"staticSecretType\": null,\n        \"secretData\": null,\n        \"accountTags\": null,\n        \"comment\": null,\n        \"passwordExpirationInMinute\": null,\n        \"approvedBy\": null,\n        \"approvedTime\": null,\n        \"createdAt\": 1741775728802,\n        \"updatedAt\": 1741822984986,\n        \"approvalLevel\": null,\n        \"approverType\": null,\n        \"manager\": false,\n        \"approvalRequired\": false,\n        \"sapmidentifier\": \"newuser@/\",\n        \"editCommentEnabled\": true,\n        \"updateCommentEnabled\": true\n    }\n]"
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "df5v3DSj9_BTA4u0zvl1z",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url {{url}}/aioc-rest-web/rest/sc/sapm/getSapmUserInfo \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --header 'x-xsrf-token: {{csrftoken}}' \\\n     --data '\"{\\n    \\\"dbId\\\": 6335936,\\n    \\\"username\\\": \\\"KORY\\\",\\n    \\\"description\\\": \\\"\\\",\\n    \\\"secretNotes\\\": null,\\n    \\\"password\\\": null,\\n    \\\"nextChangeTime\\\": 1746782309528,\\n    \\\"lastChangeTime\\\": 1746636602312,\\n    \\\"additionalInfo\\\": null,\\n    \\\"passwordSeenStatus\\\": \\\"SEEN\\\",\\n    \\\"validationStatus\\\": \\\"VALID\\\",\\n    \\\"lastAttemptStatus\\\": null,\\n    \\\"approvalStatus\\\": null,\\n    \\\"groupFullPath\\\": null\\n}\"'"
        },
        {
          "id": "npmwGp_BMhBj3fl4l3TF5",
          "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 raw = JSON.stringify(\"{\\n    \\\"dbId\\\": 6335936,\\n    \\\"username\\\": \\\"KORY\\\",\\n    \\\"description\\\": \\\"\\\",\\n    \\\"secretNotes\\\": null,\\n    \\\"password\\\": null,\\n    \\\"nextChangeTime\\\": 1746782309528,\\n    \\\"lastChangeTime\\\": 1746636602312,\\n    \\\"additionalInfo\\\": null,\\n    \\\"passwordSeenStatus\\\": \\\"SEEN\\\",\\n    \\\"validationStatus\\\": \\\"VALID\\\",\\n    \\\"lastAttemptStatus\\\": null,\\n    \\\"approvalStatus\\\": null,\\n    \\\"groupFullPath\\\": null\\n}\");\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"{{url}}/aioc-rest-web/rest/sc/sapm/getSapmUserInfo\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "4IlMmmYLX1jVJYmou2LGz",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"{{url}}/aioc-rest-web/rest/sc/sapm/getSapmUserInfo\")\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\"] = \"{{csrftoken}}\"\nrequest.body = JSON.dump(\"{\\n    \\\"dbId\\\": 6335936,\\n    \\\"username\\\": \\\"KORY\\\",\\n    \\\"description\\\": \\\"\\\",\\n    \\\"secretNotes\\\": null,\\n    \\\"password\\\": null,\\n    \\\"nextChangeTime\\\": 1746782309528,\\n    \\\"lastChangeTime\\\": 1746636602312,\\n    \\\"additionalInfo\\\": null,\\n    \\\"passwordSeenStatus\\\": \\\"SEEN\\\",\\n    \\\"validationStatus\\\": \\\"VALID\\\",\\n    \\\"lastAttemptStatus\\\": null,\\n    \\\"approvalStatus\\\": null,\\n    \\\"groupFullPath\\\": null\\n}\")\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "ygInJbv1EHvkRl4HYUl_E",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"{{url}}/aioc-rest-web/rest/sc/sapm/getSapmUserInfo\"\n\npayload = json.dumps(\"{\\n    \\\"dbId\\\": 6335936,\\n    \\\"username\\\": \\\"KORY\\\",\\n    \\\"description\\\": \\\"\\\",\\n    \\\"secretNotes\\\": null,\\n    \\\"password\\\": null,\\n    \\\"nextChangeTime\\\": 1746782309528,\\n    \\\"lastChangeTime\\\": 1746636602312,\\n    \\\"additionalInfo\\\": null,\\n    \\\"passwordSeenStatus\\\": \\\"SEEN\\\",\\n    \\\"validationStatus\\\": \\\"VALID\\\",\\n    \\\"lastAttemptStatus\\\": null,\\n    \\\"approvalStatus\\\": null,\\n    \\\"groupFullPath\\\": null\\n}\")\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json',\n   'x-xsrf-token': '{{csrftoken}}'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "df5v3DSj9_BTA4u0zvl1z"
    },
    "results": {
      "languages": [
        {
          "id": "Urk6xGD0iaigxIdnhSkL6",
          "language": "200",
          "code": "[\n    {\n        \"dbId\": 415240,\n        \"configId\": -9077,\n        \"configName\": \"Linux\",\n        \"configStrategy\": \"SSH\",\n        \"username\": \"newuser\",\n        \"sapmIdentifier\": \"newuser@/\",\n        \"description\": \"\",\n        \"secretNotes\": null,\n        \"password\": null,\n        \"prevPassword\": null,\n        \"nextChangeTime\": 1745402766713,\n        \"lastChangeTime\": 1741822980085,\n        \"additionalInfo\": null,\n        \"passwordSeenStatus\": \"UNSEEN\",\n        \"validationStatus\": \"INVALID\",\n        \"lastAttemptStatus\": null,\n        \"approvalStatus\": null,\n        \"eventUserEid\": \"admin\",\n        \"ip\": \"10.20.42.19\",\n        \"hostName\": \"10.20.42.19\",\n        \"groupId\": null,\n        \"groupName\": null,\n        \"groupFullPath\": null,\n        \"groupDbId\": null,\n        \"firstPartSeenUser\": null,\n        \"secondPartSeenUser\": null,\n        \"deviceId\": \"5cb2eac9-4bb0-43bc-83fb-a899265a9c9f\",\n        \"permissions\": [],\n        \"managers\": [],\n        \"escalatedManagers\": [],\n        \"notificationGroups\": [],\n        \"userPermissionLevel\": 6,\n        \"masterAccountId\": null,\n        \"isApprovalRequired\": false,\n        \"isManager\": false,\n        \"secretName\": \"newuser\",\n        \"secretType\": \"DYNAMIC\",\n        \"owner\": {\n            \"id\": \"25e53f47-ce66-4df2-9abc-6961dc668264\",\n            \"eid\": \"admin\",\n            \"name\": null,\n            \"firstName\": null,\n            \"surname\": null,\n            \"email\": null,\n            \"phoneNumber\": null,\n            \"smsEnabled\": null,\n            \"firstResult\": 0,\n            \"maxResult\": 50,\n            \"enabled\": false,\n            \"hasToken\": false,\n            \"createDate\": null,\n            \"appKeyId\": 0,\n            \"token\": null,\n            \"tokenDate\": null,\n            \"secretKey\": null,\n            \"qrImage\": null,\n            \"rawSecret\": null,\n            \"internal\": false,\n            \"personelId\": null,\n            \"forcePasswordChangeOnNextLogin\": false,\n            \"isLocked\": false,\n            \"lockReason\": null,\n            \"password\": null,\n            \"secondPassword\": null,\n            \"userPropertyKey4Search\": null,\n            \"userPropertyValue4Search\": null,\n            \"recordLimit\": null,\n            \"location\": null,\n            \"passwordAlgorithm\": null,\n            \"passwordDirty\": false,\n            \"passwordAutoGenerated\": false,\n            \"secondPasswordChange\": false,\n            \"groups\": null,\n            \"managerGroups\": null,\n            \"properties\": null,\n            \"tempUser\": false,\n            \"tempUserStartTime\": null,\n            \"tempUserEndTime\": null,\n            \"delegations\": null,\n            \"userProperties\": null\n        },\n        \"privateType\": \"YES\",\n        \"changePeriod\": 7,\n        \"staticSecretType\": null,\n        \"secretData\": null,\n        \"accountTags\": null,\n        \"comment\": null,\n        \"passwordExpirationInMinute\": null,\n        \"approvedBy\": null,\n        \"approvedTime\": null,\n        \"createdAt\": 1741775728802,\n        \"updatedAt\": 1741822984986,\n        \"approvalLevel\": null,\n        \"approverType\": null,\n        \"manager\": false,\n        \"approvalRequired\": false,\n        \"sapmidentifier\": \"newuser@/\",\n        \"editCommentEnabled\": true,\n        \"updateCommentEnabled\": true\n    }\n]"
        }
      ],
      "selectedLanguageId": "Urk6xGD0iaigxIdnhSkL6"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}