---
updatedAt: 2026-05-26T22:40:35.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/edge-dns/llms.txt
---

# Get a zone version

Returns an image of the Zone from a previous version. Shows only zone settings, not record sets.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's Edge DNS API",
    "url": "https://techdocs.akamai.com/edge-dns/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Zone versions",
    "version": "v2"
  },
  "openapi": "3.0.0",
  "paths": {
    "/zones/{zone}/versions/{uuid}": {
      "get": {
        "description": "Returns an image of the Zone from a previous version. Shows only zone settings, not record sets.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Edge DNS API",
          "url": "https://techdocs.akamai.com/edge-dns/reference/get-zone-versions-uuid"
        },
        "operationId": "get-zone-versions-uuid",
        "parameters": [
          {
            "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "activationState": "ACTIVE",
                  "aliasCount": 1,
                  "contractId": "C-0N7RAC71",
                  "lastActivationDate": "2021-01-03T12:00:00Z",
                  "lastModifiedBy": "tyamada",
                  "lastModifiedDate": "2021-01-03T12:00:00Z",
                  "signAndServe": true,
                  "signAndServeAlgorithm": "RSA_SHA256",
                  "type": "PRIMARY",
                  "versionId": "ae02357c-693d-4ac4-b33d-8352d9b7c786",
                  "zone": "example.com"
                },
                "schema": {
                  "additionalProperties": false,
                  "description": "An Edge DNS zone. This object contains zone settings, but not record sets.",
                  "properties": {
                    "activationState": {
                      "description": "The current zone activation status. Either `NEW`, `PENDING`, `PENDING_APPROVAL`, `ACTIVE`, `OBSOLETE`, `LOCKED`, `ERROR`, or `DELETED`.",
                      "enum": [
                        "NEW",
                        "PENDING",
                        "PENDING_APPROVAL",
                        "ACTIVE",
                        "OBSOLETE",
                        "ERROR",
                        "LOCKED",
                        "DELETED"
                      ],
                      "type": "string"
                    },
                    "aliasCount": {
                      "description": "For primary and secondary zones only. The number of zones of type `ALIAS` that point to this zone.",
                      "type": "integer"
                    },
                    "comment": {
                      "description": "Free-form user comments.",
                      "type": "string"
                    },
                    "contractId": {
                      "description": "The contract for this zone.",
                      "type": "string"
                    },
                    "endCustomerId": {
                      "description": "Free-form user identifier for this zone, often used by resellers.",
                      "type": "string"
                    },
                    "lastActivationDate": {
                      "description": "An ISO 8601 timestamp indicating when the latest zone version was activated. For primary and secondary zones only.",
                      "type": "string"
                    },
                    "lastModifiedBy": {
                      "description": "The name of the user that last edited this zone.",
                      "type": "string"
                    },
                    "lastModifiedDate": {
                      "description": "An ISO 8601 timestamp indicating when the zone was last modified.",
                      "type": "string"
                    },
                    "masters": {
                      "description": "The names or addresses of the customer's name servers from which the zone data should be retrieved. For `SECONDARY` zones only.",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "multiProviderDnssec": {
                      "additionalProperties": false,
                      "description": "Multi-provider DNSSEC properties.",
                      "properties": {
                        "enabled": {
                          "description": "Enables use of multi-provider DNSSEC functionality.",
                          "type": "boolean"
                        },
                        "webhook": {
                          "description": "Customer URL to call when a new ZSK secret has been generated.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "enabled"
                      ],
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/multi-provider-dnssec.yaml"
                      }
                    },
                    "outboundZoneTransfer": {
                      "additionalProperties": false,
                      "description": "Outbound zone transfer properties. When enabling outbound zone transfer, all the fields are required. Set `tsigKey` to null if you don't use it.",
                      "properties": {
                        "ACL": {
                          "description": "The access control list, defined as IPv4 and IPv6 CIDR blocks.",
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "enabled": {
                          "description": "Enables outbound zone transfer.",
                          "type": "boolean"
                        },
                        "notifyTargets": {
                          "description": "Customer secondary name servers to notify, if `NOTIFY` requests are desired. Up to 64 IPv4 or IPv6 addresses. If no targets are specified, you can manually request zone transfer updates as needed.",
                          "items": {
                            "type": "string"
                          },
                          "maxItems": 64,
                          "minItems": 0,
                          "type": "array"
                        },
                        "tsigKey": {
                          "additionalProperties": false,
                          "description": "The TSIG key used for outbound zone transfers.",
                          "nullable": true,
                          "properties": {
                            "algorithm": {
                              "description": "The algorithm used to encode the TSIG key's secret data. Possible values are: `hmac-md5`, `hmac-sha1`, `hmac-sha224`, `hmac-sha256`, `hmac-sha384`, `hmac-sha512`, or `HMAC-MD5.SIG-ALG.REG.INT`.",
                              "enum": [
                                "hmac-md5",
                                "hmac-sha1",
                                "hmac-sha224",
                                "hmac-sha256",
                                "hmac-sha384",
                                "hmac-sha512",
                                "HMAC-MD5.SIG-ALG.REG.INT"
                              ],
                              "type": "string"
                            },
                            "name": {
                              "description": "The zone name.",
                              "type": "string"
                            },
                            "secret": {
                              "description": "A Base64-encoded string of data. When decoded, it needs to contain the correct number of bits for the chosen algorithm. If the input isn't correctly padded, the server applies the padding.",
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/outbound-zone-transfer.yaml"
                      }
                    },
                    "signAndServe": {
                      "description": "Whether DNSSEC Sign&Serve is enabled. Applies to primary and secondary zones only.",
                      "type": "boolean"
                    },
                    "signAndServeAlgorithm": {
                      "description": "The algorithm currently or last used for DNSSEC Sign&Serve, present only if an algorithm has been assigned. Either `RSA_SHA1`, `RSA_SHA256`, `RSA_SHA512`, `ECDSA_P256_SHA256`, or `ECDSA_P384_SHA384`.",
                      "enum": [
                        "RSA_SHA1",
                        "RSA_SHA256",
                        "RSA_SHA512",
                        "ECDSA_P256_SHA256",
                        "ECDSA_P384_SHA384"
                      ],
                      "nullable": true,
                      "type": "string"
                    },
                    "subzoneGrants": {
                      "description": "Indicates that cross-account subzones are enabled. Users can still create subzones.",
                      "type": "boolean"
                    },
                    "target": {
                      "description": "The name of the zone whose configuration this zone copies. For `ALIAS` zones only.",
                      "type": "string"
                    },
                    "tsigKey": {
                      "additionalProperties": false,
                      "description": "A TSIG key.  For `SECONDARY` zones only. The TSIG key used for zone transfers.",
                      "properties": {
                        "algorithm": {
                          "description": "The algorithm used to encode the TSIG key's secret data. Possible values are: `hmac-md5`, `hmac-sha1`, `hmac-sha224`, `hmac-sha256`, `hmac-sha384`, `hmac-sha512`, or `HMAC-MD5.SIG-ALG.REG.INT`.",
                          "enum": [
                            "hmac-md5",
                            "hmac-sha1",
                            "hmac-sha224",
                            "hmac-sha256",
                            "hmac-sha384",
                            "hmac-sha512",
                            "HMAC-MD5.SIG-ALG.REG.INT"
                          ],
                          "type": "string"
                        },
                        "name": {
                          "description": "The name of the TSIG key. This is a name that's unique across all of Akamai's customers. Since the key name is treated like a DNS name, the value is lowercase and the server removes any trailing dots.",
                          "type": "string"
                        },
                        "secret": {
                          "description": "A Base64-encoded string of data. When decoded, it needs to contain the correct number of bits for the chosen algorithm. If the input isn't correctly padded, the server applies the padding.",
                          "type": "string"
                        },
                        "zonesCount": {
                          "description": "The number of zones that reference this key.",
                          "minimum": 1,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "name",
                        "algorithm",
                        "secret"
                      ],
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/tsigkey-get.yaml"
                      }
                    },
                    "type": {
                      "description": "The zone type. A `PRIMARY` zone's records are stored in Control Center. A `SECONDARY` zone's records are stored on the customer's name servers. `ALIAS` zones allow users to duplicate the configuration of an existing zone.",
                      "enum": [
                        "PRIMARY",
                        "SECONDARY",
                        "ALIAS"
                      ],
                      "type": "string"
                    },
                    "versionId": {
                      "description": "The most recently activated version's unique ID. You can use this value as an `ETag` when performing operations that affect zones.",
                      "type": "string"
                    },
                    "zone": {
                      "description": "The name of the zone.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "contractId",
                    "zone",
                    "type",
                    "versionId",
                    "lastModifiedDate",
                    "lastModifiedBy",
                    "activationState"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/zone-get.yaml"
                  }
                }
              }
            },
            "description": "Successful response."
          },
          "400": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "Invalid value for parameter 'sortBy': 'foo'. Valid values are: name, type.",
                  "instance": "https://problems.luna.akamaiapis.net/authoritative-dns/illegalValue/f804a623-444c-4e4f-a719-2190313b99d7",
                  "problemId": "f804a623-444c-4e4f-a719-2190313b99d7",
                  "status": 400,
                  "title": "Illegal Value",
                  "type": "https://problems.luna.akamaiapis.net/authoritative-dns/illegalValue"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "An RFC 7807 problem details object returned when an error occurs.",
                  "properties": {
                    "detail": {
                      "description": "A human-readable explanation of the error.",
                      "type": "string"
                    },
                    "instance": {
                      "description": "A URI that identifies this specific error occurrence.",
                      "type": "string"
                    },
                    "problemId": {
                      "description": "A unique identifier for this error occurrence.",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code for this error.",
                      "type": "integer"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "A non-navigable URI that uniquely identifies the error type.",
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem.yaml"
                  }
                }
              }
            },
            "description": "Bad Request. The `uuid` path parameter is not a valid version identifier."
          },
          "401": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "not logged in",
                  "instance": "https://problems.luna.akamaiapis.net/authoritative-dns/notLoggedIn/f804a623-444c-4e4f-a719-2190313b99d7",
                  "problemId": "f804a623-444c-4e4f-a719-2190313b99d7",
                  "status": 401,
                  "title": "Not Logged In",
                  "type": "https://problems.luna.akamaiapis.net/authoritative-dns/notLoggedIn"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "An RFC 7807 problem details object returned when an error occurs.",
                  "properties": {
                    "detail": {
                      "description": "A human-readable explanation of the error.",
                      "type": "string"
                    },
                    "instance": {
                      "description": "A URI that identifies this specific error occurrence.",
                      "type": "string"
                    },
                    "problemId": {
                      "description": "A unique identifier for this error occurrence.",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code for this error.",
                      "type": "integer"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "A non-navigable URI that uniquely identifies the error type.",
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem.yaml"
                  }
                }
              }
            },
            "description": "Unauthorized. Your credentials are missing or invalid."
          },
          "404": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "Zone not found: example.com.",
                  "instance": "https://problems.luna.akamaiapis.net/authoritative-dns/notFound/f804a623-444c-4e4f-a719-2190313b99d7",
                  "problemId": "f804a623-444c-4e4f-a719-2190313b99d7",
                  "status": 404,
                  "title": "Not Found",
                  "type": "https://problems.luna.akamaiapis.net/authoritative-dns/notFound"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "An RFC 7807 problem details object returned when an error occurs.",
                  "properties": {
                    "detail": {
                      "description": "A human-readable explanation of the error.",
                      "type": "string"
                    },
                    "instance": {
                      "description": "A URI that identifies this specific error occurrence.",
                      "type": "string"
                    },
                    "problemId": {
                      "description": "A unique identifier for this error occurrence.",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code for this error.",
                      "type": "integer"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "A non-navigable URI that uniquely identifies the error type.",
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem.yaml"
                  }
                }
              }
            },
            "description": "Not Found. The specified zone or version doesn't exist."
          }
        },
        "summary": "Get a zone version",
        "tags": [
          "Versions"
        ]
      },
      "parameters": [
        {
          "description": "A zone version tag ID.",
          "in": "path",
          "name": "uuid",
          "required": true,
          "schema": {
            "example": "ae02357c-693d-4ac4-b33d-8352d9b7c786",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/uuid-path.yaml"
          }
        },
        {
          "description": "The name of the zone.",
          "in": "path",
          "name": "zone",
          "required": true,
          "schema": {
            "example": "example.com",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/zone-path.yaml"
          }
        }
      ],
      "x-akamai": {
        "file-path": "paths/uuid.yaml",
        "path-info": "/zones/{zone}/versions/{uuid}"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/config-dns/v2"
    }
  ],
  "tags": [
    {
      "description": "Groups operations to manage zone versions.",
      "name": "Versions"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "02-versions.yaml"
  },
  "x-readme": {
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "python",
      "node"
    ]
  }
}
```

# Sibling pages

* [List a zone's versions](https://techdocs.akamai.com/edge-dns/reference/get-zone-versions.md)
* [Show zone version differences](https://techdocs.akamai.com/edge-dns/reference/get-zone-versions-diff.md)
* [Get a version's record sets](https://techdocs.akamai.com/edge-dns/reference/get-zone-versions-recordsets.md)
* [Reactivate a version](https://techdocs.akamai.com/edge-dns/reference/post-zones-zone-versions-uuid-recordsets-activate.md)