# SSL/TLS encryption
# Get
Get the detail of cloudflare SSL/TLS encryption.
# HTTP Request:
GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/dns-manager/ssl
# Curl request Example:
curl --request GET \
--url "https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/dns-manager/ssl" \
--header 'Content-Type: application/json' \
--header 'Authorization: <YOUR API TOKEN>'
# Response:
# SSL/TLS encryption
- 200 (Ok)
{
"response": "flexible"
}
# Organization Not Found
- 404 (Not Found)
{
"message": "Organization not found!"
}
# Application Not found
- 404 (Not Found)
{
"message": "Application not found!"
}
# Server Not Found
- 404 (Not Found)
{
"message": "Server not found!"
}
# Update
Update the detail of cloudflare SSL/TLS encryption.
# HTTP Request:
PATCH https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/dns-manager/ssl/{value: off/flexible/full/strict}
# Curl Request Example:
curl --request PATCH \
--url "https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/dns-manager/ssl/full" \
--header 'Content-Type: application/json' \
--header 'Authorization: <YOUR API TOKEN>'
# Response:
# Update SSL/TLS encryption
- 200 (Ok)
{
"response": true,
"message": "Your SSL\/TLS encryption mode updated successfully."
}
# Invalid Parameter(value)
- 500 (Internal Server Error)
{
"message": "Invalid request!"
}
# Organization Not Found
- 404 (Not Found)
{
"message": "Organization not found!"
}
# Application Not found
- 404 (Not Found)
{
"message": "Application not found!"
}
# Server Not Found
- 404 (Not Found)
{
"message": "Server not found!"
}