Infomaniak Domain Zones icon

Infomaniak Domain Zones

Interact with Infomaniak Domain Zones API

Zone → Update Zone

AI-generated

Summary

Updates a zone via PUT /2/zones/{zone} with a skel body. Optional query parameters may be included for additional data loading.

Inputs

  • path_zone (required) — The zone identifier to update
  • body_skel (required) — A skel file to use for zone update. SOA and infomaniak ns records will be ignored.
  • authentication (required) — Authentication method to use. Default: OAuth2. Options: OAuth2, API Key.
  • queryParameters — Additional query parameters to include in the API request. Optional parameter 'With' loads additional data about the resource.
  • returnFullResponse — If true, returns the full API response array instead of processed items. Default: false.

Output shape

array

Array of zone data objects. When returnFullResponse is true, contains the full API response wrapped in an array. Otherwise, response is processed via getInfomaniakItems to extract relevant fields.

Examples

Example 1: Update a zone with a skel file using OAuth2 authentication

Set authentication to OAuth2, provide the zone path, and supply a skel file via body_skel. Optionally add query_with parameter for additional data.

Links

Discussion