githubEdit

Reload Certificate

Reload Certificate

Reload the certificate of the API Server. In case of failure, the existing certificate will continue to be used.

Request

chevron-rightPOST /v1/managers/api:reloadCertificatehashtag
Authorization: Basic {credentials}

# Authorization
    Credentials for HTTP Basic Authentication created with <AccessToken>

Responses

chevron-right200 OKhashtag

The request has succeeded

Header

Content-Type: application/json

Body

{
    "message": "OK",
    "statusCode": 200
}

# statusCode
    Same as HTTP Status Code
# message
    A human-readable description of the response code
chevron-right400 Bad Requesthashtag

TLS is not enabled for the API Server

Header

Content-Type: application/json

Body

{
    "message": "[HTTP] TLS is not enabled for the API Server (400)",
    "statusCode": 400
}
chevron-right500 Internal Server Errorhashtag

Failed to reload the certificate, so the existing one will be kept. The reason for the failure can be found in the server logs.

Header

Content-Type: application/json

Body

{
    "message": "[HTTP] Failed to create a certificate for API Server (500)",
    "statusCode": 500
}

Last updated

Was this helpful?