SSL
Auto-Generated Certificates
Update AutoSSL metadata
This function sets values for AutoSSL's metadata keys. This allows you to replace certificates that AutoSSL did not issue and toggle other AutoSSL notifications.
Note:
We recommend that you use the WHM API 1 set_autossl_metadata_key function instead.
Information:
- You can enter more than one key and value pair in the metadata_json JSON hash.
- Any keys that you do not explicitly define will adopt the system's default value.
get/set_autossl_metadata
Query parameters
JSON-encoded object of metadata keys and values that control AutoSSL's behavior.
Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "set_autossl_metadata",
"reason": "OK",
"result": 1,
"version": 1
}
}