Skip to main content

POST – Replace Certificate

Use the POST method to replace a certificate.

Request URL

POST https://<BMC_IPADDR>/redfish/v1/CertificateService/Actions/CertificateService.ReplaceCertificate

Request body

FieldTypeDescription

title

String

Replace an existing certificate.

target

Link

The link of this action.

CertificateUri

ObjectRequired. The link to the certificate that is being replaced.
 

@odata.id

LinkThe value shall be a certificate resource link.

CertificateString

StringRequired. The string for the certificate. Line breaks should be replaced to “\n” in this parameter.

Response body

Status code

HTTP Status CodeError Message ID
400BadRequest, ActionParamMissing , ActionParamTypeError , ActionParamFormatError
500InternalError