PUT /accounts/{account_id}/cni/cnis/{cni}

Servers

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:

  • ASCII alphanumerics: [a-zA-Z0-9]
  • Special characters in the set '!@#$%^&*()+[]{}<>/.,;:_-~= |`

In other words, MD5 keys may contain any printable ASCII character aside from newline (0x0A), quotation mark ("), vertical tab (0x0B), carriage return (0x0D), tab (0x09), form feed (0x0C), and the question mark (?). Requests specifying an MD5 key with one or more of these disallowed characters will be rejected.

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.

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

  1. Add HTTP Task to your workflow definition.
  2. 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.
  3. Click Test request to test run your request to the API and see the API's response.