API Guide
HTTP response
codes
204
Example Request
Body
{
"GroupId":2614,
"MemberDeviceIds" : [2514]
}
/api/GroupService/Actions/
GroupService.AddUserToGroups
This URI represents adding users to groups.
POST method for GroupService.AddUserToGroups
This method adds user to a group.
Description Adds user to a group.
Privilege GROUP_MANAGEMENT
HTTP response
codes
204
Example Request
Body
{
"UserId" : 3864,
"GroupIds" : [1314, 1264]
}
Devices
/api/DeviceService/HostKeys
This URL returns the list of known host keys.
GET method for HostKeys
Description
This method returns the list of known host keys.
Privilege DEVICE_CONFIGURATION
HTTP response
codes
200
Example response
body
{
"@odata.context": "/api/$metadata#Collection(DeviceService.HostKey)",
"@odata.count": 1,
"value": [
{
"@odata.type": "#DeviceService.HostKey",
"@odata.id": "/api/DeviceService/HostKeys(1)",
"Id": 1,
"Identifier": "1.1.1.1",
"Key":
"AAAAB3NzaC1yc2EAAAADAQABAAABAQDX2iFTkHd9LrRMhi02xTBlA5e/t/BGzwI21orZm/
Bb3OG6VWGmha9X/6X159IUiHgSQxPrwAt9/
GvfPKDFuIsRgoTyPKHZEIOZru1oKBAAV5Sm8xt9o1H8ovn+M/
APIs specific to OpenManage Enterprise 507