API

LinkedZoneDeployment

Deploy or undeploy a linked zone.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /linkedzone/zones/{zone_id} create Accepted

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

created, err := client.LinkedZoneDeployment(nil).Create(map[string]any{"zone_id": "example", "deploy": true}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)

Lua

Construct client as shown in the Lua setup, then call the operations:

local created, err = client:LinkedZoneDeployment():create({ zone_id = "example", deploy = true })

PHP

Construct client as shown in the PHP setup, then call the operations:

$created = $client->LinkedZoneDeployment()->create(["zone_id" => "example", "deploy" => true]);

Python

Construct client as shown in the Python setup, then call the operations:

created = client.LinkedZoneDeployment().create({ "zone_id": "example", "deploy": True })

Ruby

Construct client as shown in the Ruby setup, then call the operations:

created = client.LinkedZoneDeployment.create({ "zone_id" => "example", "deploy" => true })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const created = await client.LinkedZoneDeployment().create({ zone_id: "example", deploy: true })

Fields

Field Type Required Description
deploy boolean Yes Deploy
message string Yes Message

create

POST /linkedzone/zones/{zone_id}

Operation ID: postLinkedzoneZonesZoneId.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
zone_id path string Yes

Request body

application/json

Property Type Required Description
deploy boolean Yes

Responses

202: Accepted

application/json

Property Type Required Description
message string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
404: Not Found

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
409: Conflict

application/json

Property Type Required Description
message string Yes