POST /accounts/{account_id}/magic/connectors
Add a connector to your accountServers
- 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 |
|---|---|---|---|
device |
Object | Yes |
Exactly one of id, serial_number, or provision_license must be provided. |
device.id |
String | No | |
device.provision_license |
Boolean | No |
When true, create and provision a new licence key for the connector. |
device.serial_number |
String | No | |
interrupt_window_duration_hours |
Number | No | |
timezone |
String | No | |
notes |
String | No | |
activated |
Boolean | No | |
interrupt_window_hour_of_day |
Number | 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.