Skip to main content

dns_zones_transfer

Creates, updates, deletes, gets or lists a dns_zones_transfer resource.

Overview

Namedns_zones_transfer
TypeResource
Idnetlify.dns_zone.dns_zones_transfer

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
transferDnsZoneexeczone_id, account_id, transfer_account_id, transfer_user_id

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringthe account of the dns zone
transfer_account_idstringthe account you want to transfer the dns zone to
transfer_user_idstringthe user you want to transfer the dns zone to
zone_idstring

Lifecycle Methods

transfer a DNS zone to another account

EXEC netlify.dns_zone.dns_zones_transfer.transferDnsZone 
@zone_id='{{ zone_id }}' --required,
@account_id='{{ account_id }}' --required,
@transfer_account_id='{{ transfer_account_id }}' --required,
@transfer_user_id='{{ transfer_user_id }}' --required
;