PUT /accounts/{account_id}/cni/cnis/{cni}
Servers
- https://api.cloudflare.com/client/v4
Path parameters
Name | Type | Required | Description |
---|---|---|---|
cni |
String | Yes |
CNI ID to retrieve information about |
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 |
---|---|---|---|
id |
String | Yes | |
interconnect |
String | Yes |
Interconnect identifier hosting this CNI |
account |
String | Yes |
Customer account tag |
bgp |
Object | No | |
bgp.md5_key |
String | No |
MD5 key to use for session authentication. Note that this is not a security measure. MD5 is not a valid security mechanism, and the key is not treated as a secret value. This is only supported for preventing misconfiguration, not for defending against malicious attacks. The MD5 key, if set, must be of non-zero length and consist only of the following types of character:
In other words, MD5 keys may contain any printable ASCII character aside from newline (0x0A),
quotation mark ( |
bgp.extra_prefixes[] |
Array | Yes |
Extra set of static prefixes to advertise to the customer's end of the session |
bgp.customer_asn |
Integer | Yes |
ASN used on the customer end of the BGP session |
cust_ip |
String | Yes |
Customer end of the point-to-point link This should always be inside the same prefix as |
p2p_ip |
String | Yes |
Cloudflare end of the point-to-point link |
magic |
Object | Yes | |
magic.mtu |
Integer | Yes | |
magic.description |
String | Yes | |
magic.conduit_name |
String | Yes |
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.