Reference Guide

SupportAssist Enterprise
24 REST API Guide SupportAssist Enterprise
Headers:
Content-Type: application/json
Authorization: Bearer <Authentication_Token>
The following is an example of a JSON for creating a Credential Profile with the Account Credentials of servers
running Windows.
Request body:
{
"id" : null,
"name" : "< provided_name>",
"credentialAccounts" : [
{"id" : "<Windows credential account id>"}
]
}
Response format (success response code 201):
{
"id":"<generated_credential_profile_id>",
"name":"<provided_name>",
"credentialAccounts{
"id":"<CA1_id>",
"name":"win_server1",
"uiDeviceType":"Server / Hypervisor",
"deviceSubTypeEnum":"WINDOWS",
"deviceFamilyTypeEnum":null,
"protocols":[
{
"protocolType":"WMI",
"credential":{
"username":"localhost\Administrator",
"password":"YWJjX3Bhc3N3b3Jk",
"enablePassword":null,
"communityString":""
}
}
]
}
]
}
2.4.2 Edit Credential Profile
The following resource URI is used to edit a Credential Profile:
https://<BASE_URI>/SupportAssist/api/v1/CredentialProfile/<credential_profile_id>
Note: Only the Credential Accounts included in a Credential Profile can be edited. The name and id of a
credential profile cannot be edited.
Method: PUT