Reference Guide
SupportAssist Enterprise
25 REST API Guide – SupportAssist Enterprise
Headers:
Content-Type: application/json
Authorization: Bearer <Authentication_Token>
The following is an example of a JSON for editing a Credential Profile.
Request body:
{
"id" : "<credential_profile_id >",
"name" : "<provided_name>",
"credentialAccounts" : [
{"id" : "<Windows credential account id>"},
{"id" : "<Linux credential account id>" }
]
}
Response format (success – response code 201):
{
"id":"<generated_credential_profile_id>",
"name":"<provided_name>",
"credentialAccounts":[
{
<Windows credential account details>
},
{
<Linux credential account details>
}
]
}
2.4.3 Delete Credential Profile
The following resource URI is used to delete a Credential Profile:
https://<BASE_URI>/SupportAssist/api/v1/CredentialProfile/<credential_profile_id>
Note: You can only delete a Credential Profile that is not associated with any devices or discovery rules.
Method: DELETE
Headers:
Content-Type: application/json
Authorization: Bearer <Authentication_Token>
Request body: none required
Response format (success – response code 204): none