GET /api/deploymentzones

Returns a list of valid deployment zones on the platform, in the form of a JSON or XML object.

Note: Be sure to include a valid Accept header with this operation. If you don't include the Accept header, the operation might fail.

New in API Platform Version: 8.1

Authorization Roles/Permissions: Must be logged in. Must have Read permission for the resource. For example, a Business Admin or an API Admin.

This topic includes the following sections:

HTTP Method


Back to top



Back to top

Sample Request

The example below shows a request for the deployment zone information.

Request URL


Sample request headers

GET /api/deploymentzones HTTP/1.1
Host: {hostname}
Accept: application/vnd.soa.v81+json

Sample request body

Not applicable.

Back to top

Request Headers

For general information on request header values, refer to HTTP Request Headers.

Header Description

application/vnd.soa.v81+json, application/vnd.soa.v81+xml

application/vnd.soa.v84+json, application/vnd.soa.v84+xml

X-Csrf-Token_{fedmemberID} The CSRF prevention header; may or may not be required, depending on platform settings. See CSRF Prevention on the Platform. By default, the CSRF header is not required for GET operations and is required for all others, with a few exceptions relating to user login.

Back to top

Request Parameters

Parameter Parm Type Data Type Required Description
Implementation Query string Optional A specific implementation for which deployment zone information should be returned.
Environment Query string Optional A specific environment for which deployment zone information should be returned.
APIImplementationPattern Query string Optional A specific implementation pattern for which deployment zone information should be returned.
DzoneID Query string Optional One or more deployment zone IDs for which the information should be returned. For multiple deployment zones, list each one as a separate query parameter. Used by the UI to show deployment zones on the map.
ApiID Query string Optional The API ID. If this parameter is included, only deployment zones available to the specified API are returned.

Back to top


If successful, this operation returns HTTP status code 200, with the requested information about deployment zones.

Back to top

Sample Response

The sample response below shows successful completion of this operation.

Sample response headers: application/vnd.soa.v84+json

Status Code: 200 OK
Content-Type: application/vnd.soa.v84+json
Date: Mon, 30 Jul 2018 20:24:54 GMT

Sample response body: application/vnd.soa.v81+json

  "DeploymentZoneInfo": [
      "DZoneEnvImplAssociations": {
        "DZoneEnvImplAssociation": [
            "Implementation": "Live",
            "Environment": "Production"
            "Implementation": "Sandbox",
            "Environment": "Production"
      "DeploymentZoneID": "ed33-ae99-463a-b663-75710bdb67fb.acmepaymentscorp",
      "Name": "eapNdTrunk",
      "ContainerKey": "ed33-ae99-463a-b663-75710bdb67fb",
      "ContainerName": "eapNdTrunk",
      "AddressOverrideBehavior": "com.akana.allow",
      "RandomHostNameBehavior": "com.akana.allow",
      "VirtualHostSupported": false,
      "DeploymentZoneAccessPoint": [
          "Protocol": "http",
          "Name": "default-http0",
          "Address": ""

Back to top

Response Headers

For general information on response header values, refer to HTTP Response Headers.

Header Description
Content-Type application/vnd.soa.v81+json, application/vnd.soa.v81+xml

Back to top

Response Body

Name Type Description
DeploymentZoneInfoList DeploymentZoneInfoList Contains information about deployment zones for a specific tenant, in the form of a list.

Back to top

Error Codes/Messages

If the call is unsuccessful an error code/message is returned. One or more examples of possible errors for this operation are shown below.

Item Value
401 Unauthorized. For example, you would get this response if you didn't include the custom X-Csrf-Token_{fedmemberID} header in the request, when it was required by the platform settings; or if you included an invalid or expired value for this header. You would also get this response for any operation that requires login (almost all) if the login cookie was missing.
500 An error occurred processing the call.

More information about Akana API Platform API error messages.

Back to top

Related Topics