dns_zones_transfer
Creates, updates, deletes, gets or lists a dns_zones_transfer resource.
Overview
| Name | dns_zones_transfer |
| Type | Resource |
| Id | netlify.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
transferDnsZone | exec | zone_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.
| Name | Datatype | Description |
|---|---|---|
account_id | string | the account of the dns zone |
transfer_account_id | string | the account you want to transfer the dns zone to |
transfer_user_id | string | the user you want to transfer the dns zone to |
zone_id | string |
Lifecycle Methods
- transferDnsZone
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
;