POST /accounts/{account_id}/addressing/address_maps
Create a new address map under the account.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
Name | Type | Required | Description |
---|---|---|---|
account_id |
String | Yes |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
ips[] |
Array | No | |
memberships[] |
Array | No |
Zones and Accounts which will be assigned IPs on this Address Map. A zone membership will take priority over an account membership. |
memberships[].can_delete |
Boolean | No |
Controls whether the membership can be deleted via the API or not. |
memberships[].identifier |
String | No |
The identifier for the membership (eg. a zone or account tag). |
memberships[].kind |
String | No |
The type of the membership. Possible values:
|
memberships[].created_at |
String | No | |
description |
String | No |
An optional description field which may be used to describe the types of IPs or zones on the map. |
enabled |
Boolean | No |
Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled. Default value: false |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.