Viewing User Accounts - Cisco UCS C Series Programmer's Manual

Rest api
Hide thumbs Also See for UCS C Series:
Table of Contents

Advertisement

Examples of Server Tasks
}
},{
"Name":"PD-8",
"Status":{
}
}],
"Status":{
"State":"Optimal",
"Health":"Ok"
},
"Name":"Cisco 12G SAS Modular Raid Controller",
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity/Simple
Storage/Members/$entity"
}

Viewing User Accounts

Request:
curl -GET https://10.10.10.10/redfish/v1/AccountService -k -u
admin:Admin123
}
"Accounts":{
"@odata.id":"/redfish/v1/AccountService/Accounts"
},
"Id":"AccountService",
"Name":"Account Service",
"@odata.context":"/redfish/v1/$metadata#AccountService",
"@odata.type":"#AccountService.1.0.0",
"Roles":{
"@odata.id":"/redfish/v1/AccountService/Roles"
},
"ServiceEnabled":true,
"@odata.id":"/redfish/v1/AccountService",
"Description":"Account Service"
}
Viewing User Accounts
Request:
curl -GET https://10.10.10.10/redfish/v1/AccountService/Accounts -k -u
admin:Admin123
{
"Members":[{
"@odata.id":"/redfish/v1/AccountService/Accounts/1"
},{
"@odata.id":"/redfish/v1/AccountService/Accounts/2"
},{
"@odata.id":"/redfish/v1/AccountService/Accounts/3"
}],
"@odata.type":"#ManagerAccountCollection.1.0.0.ManagerAccountCollectio
n",
"@odata.id":"/redfish/v1/AccountService/Accounts",
"Name":"Account Collection",
"@odata.context":"/redfish/v1/$metadata#AccountService/Accounts"
}
Cisco UCS C-Series Servers REST API Programmer's Guide
38
"State":"Absent"
Cisco IMC REST API Examples

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents