Upload Server Certificate

Upload Server Certificate

upload server certificate for Cloud Native TCA and TCA-CP

Request
URI
POST
https://{api_host}/hybridity/api//ztp/domains/{domainName}/security/certificates/serverCertificate
COPY
Path Parameters
string
domainName
Required

Name of the domain


Request Body
uploadServerCertRequest of type(s) application/json
Required
{
    "sslCert": "string",
    "sslCertKey": "string"
}
string
sslCert
Required

sslCert

string
sslCertKey
Required

sslCertKey

Authentication
This operation uses the following authentication methods.
Responses
202

Successfully uploaded server certificate

Returns response of type(s) application/json
{
    "warnings": [
        {
            "message": "message"
        },
        {
            "message": "message"
        }
    ],
    "errors": [
        {
            "code": "code",
            "message": "message"
        },
        {
            "code": "code",
            "message": "message"
        }
    ]
}
array of warning
warnings
Optional

warnings

array of error
errors
Optional

errors


301

API endpoint has permanently moved.

Returns redirectResponse of type(s) application/json
{
    "redirectURL": "string"
}
string
redirectURL
Optional

redirectURL

Response Headers

string
Location

URI where the client will find the new endpoint.


400

Bad Request

Returns response of type(s) application/json
{
    "warnings": [
        {
            "message": "message"
        },
        {
            "message": "message"
        }
    ],
    "errors": [
        {
            "code": "code",
            "message": "message"
        },
        {
            "code": "code",
            "message": "message"
        }
    ]
}
array of warning
warnings
Optional

warnings

array of error
errors
Optional

errors


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

500

Internal Server Error

Returns response of type(s) application/json
{
    "warnings": [
        {
            "message": "message"
        },
        {
            "message": "message"
        }
    ],
    "errors": [
        {
            "code": "code",
            "message": "message"
        },
        {
            "code": "code",
            "message": "message"
        }
    ]
}
array of warning
warnings
Optional

warnings

array of error
errors
Optional

errors