renewSamlCertificate

post

/ccadmin/v1/merchant/renewSamlCertificate

Renews SAML certificate.

Request

Supported Media Types
Body ()
Root Schema : renewSamlCertificate_request
Show Source
Back to Top

Response

Supported Media Types

200 Response

The following model is returned when operation succeeds.
Body ()
Root Schema : renewSamlCertificate_response
Type: object
Show Source
Example Response (application/json)
{
    "endDate":"2048-12-14T18:16:00.000Z",
    "startDate":"2021-07-29T18:16:00.000Z"
}

202 Response

Returned if renewal is accepted but a new certificate is not loaded yet.
Body ()
Root Schema : renewSamlCertificate_errorResponse
Type: object
Show Source
Example Response (application/json)
{
    "errorCode":"51304",
    "message":"New certificate is not ready for use. Try to check later using getSamlSettings endpoint."
}

409 Response

Returned if renewal of SAML certificate is not enabled in configuration.
Body ()
Root Schema : renewSamlCertificate_errorResponse
Type: object
Show Source
Example Response (application/json)
{
    "errorCode":"51302",
    "message":"Renewal of SAML certificate is not enabled."
}

500 Response

Returned if renewal of SAML certificate failed.
Body ()
Root Schema : renewSamlCertificate_errorResponse
Type: object
Show Source
Example Response (application/json)
{
    "errorCode":"51301",
    "message":"Failed to renew certificate."
}

503 Response

Returned if renewal of SAML certificate is available.
Body ()
Root Schema : renewSamlCertificate_errorResponse
Type: object
Show Source
Example Response (application/json)
{
    "errorCode":"51303",
    "message":"The certificate renewal is not available at the moment. Please try later."
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |51301|Failed to renew certificate.| |51302|Renewal of SAML certificate is not enabled.| |51303|The certificate renewal is not available at the moment. Please try later.| |51304|New certificate is not ready for use. Try to check later using getSamlSettings endpoint.|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top