Certificate

Add custom certificate for a website

post/v1/hosting/websites/{website_id}/certificate/custom

Request

Path parameters

website_idinteger required

Headers

x-api-keystring required

API key for authentication

Request body

key_file_contentstring required

The content of the key file

cert_file_contentstring required

The content of the certificate file, recommended to append the ca file content after it

ca_file_contentstring

The content of the ca file

redirect_http0 | 1

Redirect HTTP to HTTPS

Response

Custom certificate generated successfully

status'ok' | 'error'

Example response

{
  "status": "ok"
}

Changes

No recorded changes to this operation across all 1 revision of this API.