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
Field | Type | Description | |
---|---|---|---|
title | String | Replace an existing certificate. | |
target | Link | The link of this action. | |
CertificateUri | Object | Required. The link to the certificate that is being replaced. | |
@odata.id | Link | The value shall be a certificate resource link. | |
CertificateString | String | Required. The string for the certificate. Line breaks should be replaced to “\n” in this parameter. |
Response body
Status code
HTTP Status Code | Error Message ID |
---|---|
400 | BadRequest, ActionParamMissing , ActionParamTypeError , ActionParamFormatError |
500 | InternalError |
Give documentation feedback