# TLS Version
# Get
Get the detail of cloudflare TLS Version.
# HTTP Request:
GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/dns-manager/ssl/tls-version
# Curl request Example:
curl --request GET \
--url "https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/dns-manager/ssl/tls-version" \
--header 'Content-Type: application/json' \
--header 'Authorization: <YOUR API TOKEN>'
# Response:
# TLS Version
- 200 (Ok)
{
"response": {
"id": "min_tls_version",
"value": "1.1",
"modified_on": null,
"editable": true
}
}
# 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 TLS Version.
# HTTP Request:
PATCH https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/dns-manager/ssl/tls-version/{version :1.0/1.1/1.2/1.3}
# Curl Request Example:
curl --request PATCH \
--url "https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/dns-manager/ssl/tls-version/1.1" \
--header 'Content-Type: application/json' \
--header 'Authorization: <YOUR API TOKEN>'
# Response:
# Update TLS Version
- 200 (Ok)
{
"response": true,
"message": "Minimum TLS version updated successfully."
}
# Invalid Parameter(version)
- 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!"
}