Skip to main content

PATCH – Active Directory

Request

PATCH https://{{ip}}/redfish/v1/AccountService
Content-Type: application/json

Request body

  1. Please refer to the properties that are patchable in Account Service Property for which ReadOnly is False that can be sent as Request body in JSON format.

  2. RemoteRoleMapping property can be patched separately and does not require Authentication.

Request example

Editing AccountService:

{
"ActiveDirectory":{
"Authentication":{
"Username":"AD1"
"Password":"AD@123",
"Oem":{
"Ami":{
"DomainName":"abc123.com",
"DomainControllerServerAddr1":"10.0.1.23"
"DomainControllerServerAddr2":"",
"DomainControllerServerAddr3":"
}
}
],
"ServiceEnabled":true
}
}

Response

For Error Responses, please refer to Error Response.