Add Application Token Account
1 min
POST
{{url}}/aioc-rest-web/rest/aapm/addAapmAccount
urlstring
x-xsrf-tokenstring
bodyobject
200Add Application Token Account
curl --request POST \
--url {{url}}/aioc-rest-web/rest/aapm/addAapmAccount \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-xsrf-token: {{x-xsrf-token}}' \
--data '"{\n \"applicationName\": \"ExampleApplication\",\n \"applicationIPs\": [\n \"192.0.2.10/32\"\n ],\n \"sapmAccounts\": [\n 100001\n ],\n \"sapmGroups\": [],\n \"restrictions\": {\n \"allowListingAccounts\": false,\n \"expiryDate\": 1893456000000,\n \"maxUsageCount\": \"100\"\n },\n \"level\": \"BASIC_PIN_PATH_HASH\",\n \"properties\": {\n \"appHash\": \"EXAMPLE_APP_HASH\",\n \"appPath\": \"C:\\\\Program Files\\\\Example\\\\example.exe\",\n \"OSType\": \"WINDOWS\",\n \"OSCredentialType\": \"SAPM\",\n \"OSCredentialSAPM\": 100001,\n \"pinPort\": 8080\n }\n}"'