Edit Sapm Account
1 min
POST
{{url}}/aioc-rest-web/rest/sc/sapm/editSapmAccount
Header Parameters
- Content-TypestringExample
- CookiestringExample
- X-XSRF-TOKENstringExample
Body Parameters
- bodystringExample
{ "sapmDbId": 85623, "secretName": "new sapm-dynamic-type", "passwordChangePeriod": "50", "sapmGroupDbId": 85220 }
Responses
200
200
200
200
200
200
curl
curl --request POST \
--url {{url}}/aioc-rest-web/rest/sc/sapm/editSapmAccount \
--header 'accept: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
var requestOptions = {
method: 'POST',
headers: myHeaders,
redirect: 'follow'
};
fetch("{{url}}/aioc-rest-web/rest/sc/sapm/editSapmAccount", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "net/http"
url = URI("{{url}}/aioc-rest-web/rest/sc/sapm/editSapmAccount")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Post.new(url)
request["accept"] = "application/json"
response = http.request(request)
puts response.read_body
python
import requests
url = "{{url}}/aioc-rest-web/rest/sc/sapm/editSapmAccount"
payload = {}
headers = {
'accept': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
200
// Edit Sapm Account (Static Strategy SSL Cert)
200
// Edit Sapm Account (dynamic-type)
200
// Edit Sapm Account(Static Type Dynamic Strategy)
200
// Edit Sapm Account (Static Strategy SSH key)
200
// Edit Sapm Account (Static Type User Credential)
200
// Edit Sapm Account(Static Strategy Other)