Vault Set Password by Manually
1 min
POST
{{url}}/aioc-rest-web/rest/sc/sapm/resetPasswordWithManualPassword
urlstring
Content-Typestring
Cookiestring
X-XSRF-TOKENstring
bodyobject
200<p>Edit Sapm Account (Static Strategy SSL Cert)</p>
200<p>Edit Sapm Account (dynamic-type)</p>
200<p>Edit Sapm Account(Static Type Dynamic Strategy)</p>
200<p>Edit Sapm Account (Static Strategy SSH key)</p>
200<p>Edit Sapm Account (Static Type User Credential)</p>
200<p>Edit Sapm Account(Static Strategy Other)</p>
curl --request POST \
--url {{url}}/aioc-rest-web/rest/sc/sapm/resetPasswordWithManualPassword \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--cookie {{netrightCookie}} \
--header 'x-xsrf-token: {{csrftoken}}' \
--data '"{\n \"sapmDbId\": 478160,\n \"sapmConfigId\": 56349,\n \"password\": \"NEW_MANUAL_PASSWORD\",\n \"comment\": \"SOME_COMMENT\",\n \"passwordExpirationInMinute\": \"5m\" // Optional, default value is 30 minutes\n\n}"'