API Guide

/api/ProfileService/ProfileStates
This URI retrieves the profile state information for all the profiles.
GET method for ProfileStates
Description This method retrieves the profile state information for all the profiles.
Privilege VIEW
HTTP response
codes
200
/api/ProfileService/Actions/ProfileService.Delete
This URI deletes the profiles.
POST method for ProfileService.Delete
Description This method deletes the profiles.
Privilege TEMPLATE_MANAGEMENT, AUTO_DEPLOY_MANAGEMENT
HTTP response
codes
200
Example request
body
Case 1: Send Profile Ids—To delete the selected profiles in the profile wizard
{ "ProfileIds":[17626,17627,17628]
}
Case 2: Delete All without filters—To delete all the profiles in the profile wizard
{
"SelectAll":true,
"Filters":"*"
}
Case 3: Delete All with filters—To delete all the profiles in the profils
wizard which matches the filter condition
{
"SelectAll":true,
"Filters":"=contains(ProfileName,'test4')"
}
/api/ProfileService/Profiles(arg1)
This URI deletes the given profile id.
DELETE method for Profiles(arg1)
Description
This method deletes the given profile id.
Privilege TEMPLATE_MANAGEMENT, AUTO_DEPLOY_MANAGEMENT
HTTP response
codes
204
APIs specific to OpenManage Enterprise 543