# Edge Certificate

# List

List of cloudflare edge-certificates.

# HTTP Request:

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

# Curl request Example:

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

# Response:

# TLS Version

  • 200 (Ok)
{
    "certificate": [
        {
            "id": "97c0ee-840f-4594-af70-ff3a54381ec7",
            "type": "universal",
            "hosts": [
                "*.domain.com",
                "domain.com"
            ],
            "status": "active",
            "expires_on": "2022-09-19T23:59:59.000000Z"
        }
    ]
}

# 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!"
}

# Show

Show the detail of edge-certificate.

# HTTP Request:

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

# Curl request Example:

curl --request GET \
  --url "https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/dns-manager/ssl/edge-certificate/97c0ee-840f-4594-af70-ff3a54381ec7" \
  --header 'Content-Type: application/json' \
  --header 'Authorization: <YOUR API TOKEN>'

# Response:

# Edge Certificate

  • 200 (Ok)
{
    "response": {
        "id": "97c0ee-840f-4594-af70-ff3a54381ec7",
        "type": "universal",
        "hosts": [
            "*.domain.com",
            "domain.com"
        ],
        "status": "active",
        "expires_on": "2022-09-19T23:59:59.000000Z",
        "signature": "ECDSAWithSHA256",
        "validity_days": 365,
        "validation_method": "txt"
    }
}

# 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