POST /accounts/{account_id}/magic/cf1_sites
Creates new CF1 Sites for an account. Each site must have a unique name within 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 |
|---|---|---|---|
[] |
Array | Yes | |
[].id |
String | No |
Identifier |
[].name |
String | Yes |
A human-provided name describing the CF1 Site that should be unique within the account. |
[].description |
String | No |
A human-provided description of the CF1 Site. |
[].location |
Object | No | |
[].location.long |
Number | No |
Longitude of the CF1 Site. |
[].location.name |
String | No |
Name of nearest town, city, or village. |
[].location.lat |
Number | No |
Latitude of the CF1 Site. |
[].created_on |
String | No | |
[].modified_on |
String | No |
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.