# TLS 1.3

# Get

Get the detail of cloudflare TLS 1.3.

# HTTP Request:

GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/dns-manager/ssl/tls-13

# Curl request Example:

curl --request GET \
  --url "https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/dns-manager/ssl/tls-13" \
  --header 'Content-Type: application/json' \
  --header 'Authorization: <YOUR API TOKEN>'

# Response:

# TLS 1.3

  • 200 (Ok)
{
    "response": {
        "id": "tls_1_3",
        "value": "on",
        "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 1.3.

# HTTP Request:

PATCH https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/dns-manager/ssl/tls-13/{value: on, off}

# Curl Request Example:

curl --request PATCH \
  --url "https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/dns-manager/ssl/tls-13/on" \
  --header 'Content-Type: application/json' \
  --header 'Authorization: <YOUR API TOKEN>' 

# Response:

# Update TLS 1.3

  • 200 (Ok)
{
    "response": true,
    "message": "TLS 1.3 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!"
}
Last Updated: 3/1/2023, 1:57:58 PM