Path parameters

  • id string(uuid) Required
application/json

Body Required

  • target-zone object Required

    Zone

    Hide target-zone attribute Show target-zone attribute
    • name string

      Values are ch-dk-2, de-muc-1, ch-gva-2, at-vie-1, de-fra-1, bg-sof-1, or at-vie-2.

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
    • id string(uuid)

      Operation ID

    • reason string

      Operation failure reason

      Values are incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, or conflict.

    • Related resource reference

      Hide reference attributes Show reference attributes
      • id string(uuid)

        Reference ID

      • command string

        Command name

    • message string

      Operation message

    • state string

      Operation status

      Values are failure, pending, success, or timeout.

POST /template/{id}
curl \
 -X POST https://api-ch-gva-2.exoscale.com/v2/template/{id} \
 -H "Content-Type: application/json" \
 -d '{"target-zone":{"name":"ch-dk-2"}}'
Request example
{
  "target-zone": {
    "name": "ch-dk-2"
  }
}
Response examples (200)
{
  "id": "string",
  "reason": "incorrect",
  "reference": {
    "id": "string",
    "link": "string",
    "command": "string"
  },
  "message": "string",
  "state": "failure"
}