Skip to main content

Zone Update for Large Object

Allows you to update a large zone.

Parameters

Parameter

Type

Required

Description

user_key

string

Yes

API User Token

API User Token

string

Yes

API User Secret Token

zone_id

integer

Yes

Zone ID

label

string

No

Zone Description

ftp_password

string

No

Ftp Password

query_string

bool

No

Allow HTTP Query String for the cache parameter.

custom_query_string

bool

No

Allow HTTP Custom Query String arguments for the cache params.

custom_query_string_args

array

No

Custom Query String Arguments.

custom_headers

array

No

Custom Header Object. It's must be array and contains object.

gzip

bool

No

Gzip compress enables for the allowed objects.

image_compress

bool

No

Gzip option must be enabled for this feature to be activated.

secure_token

bool

No

Security token

secure_token_refresh

bool

No

This option regenerates the security token.

robots

string

No

Valid values; "enable", "disable", "custom"

shared_ssl

bool

No

Shared SSL feature

http2

bool

No

SNI must be enable for this feature. Additionally, if shared_ssl is enable, This option is automatically activated.

pseudo_streaming

bool

No

Pseudo streaming works over HTTP protocol and it supports seeking to not yet downloaded parts of a video file. It works with Flash and HTML5 players and also works natively on iOS and Android devices.

Return Values

Variable

Type

status

bool

data

object

Example Output

CODE
{
  "status": true,
  "data": {
    "alias": [
      "alias.medianova.com"
    ],
    "origin_authentication": {
      "username": "username",
      "password": "pass"
    },
    "cdn_url": "cdn_url.mncdn.com",
    "create_at": "2016-08-20 11:00:00",
    "sni": false,
    "gzip": true,
    "http2": false,
    "zone_id": 1,
    "image_compress": true,
    "label": "cdnlabel",
    "name": "cdn_url",
    "ftp_username": "username",
    "query_string": false,
    "custom_query_string": false,
    "custom_query_string_args": [],
    "custom_headers": [
        [
            {
                "type": 1,
                "key": "Add-Header",
                "val": "Add-Header-Value"
            },
            {
                "type": 3,
                "key": "Hide-Header"
            }
        ]
    ],
    "robots": "disable",
    "secure_token": false,
    "secure_token_code": false,
    "shared_ssl": false,
    "status": true
  }
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.