POST /v2/partner_network_connect/attachments
To create a new partner attachment, send a POST
request to
/v2/partner_network_connect/attachments
with a JSON object containing the
required configuration details.
Servers
- https://api.digitalocean.com
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 |
---|---|---|---|
region |
String | Yes | |
bgp |
Object | No |
Optional BGP configurations |
bgp.local_router_ip |
String | Yes |
IP of the DO router |
bgp.peer_router_ip |
String | Yes |
IP of the Naas Provider router |
bgp.peer_router_asn |
Integer | Yes |
ASN of the peer router |
bgp.auth_key |
String | Yes |
BGP Auth Key |
connection_bandwidth_in_mbps |
Integer | Yes |
Bandwidth (in Mbps) of the connection. Possible values:
|
name |
String | Yes |
The name of the partner attachment. Must be unique and may only contain alphanumeric characters, dashes, and periods. |
parent_uuid |
String | No |
Optional associated partner attachment UUID |
vpc_ids[] |
Array | Yes |
An array of VPCs IDs. |
naas_provider |
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.