WireGuard Interfaces
Create a WireGuard Interface
Create a new WireGuard Interface. Current limitation of 10 interfaces per user can be created.
post/wireguard_interfaces
Request body
Example request
{
"created_at": "2018-02-02T22:25:27.521Z",
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "wireguard_interface",
"updated_at": "2018-02-02T22:25:27.521Z",
"name": "test interface",
"network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"status": "provisioned",
"endpoint": "203.0.113.0:51871",
"public_key": "qF4EqlZq+5JL2IKYY8ij49daYyfKVhevJrcDxdqC8GU=",
"region_code": "ashburn-va"
}Response
Successful response
Example response
{
"data": {
"created_at": "2018-02-02T22:25:27.521Z",
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "wireguard_interface",
"updated_at": "2018-02-02T22:25:27.521Z",
"name": "test interface",
"network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"status": "provisioned",
"endpoint": "203.0.113.0:51871",
"public_key": "qF4EqlZq+5JL2IKYY8ij49daYyfKVhevJrcDxdqC8GU=",
"region": {
"code": "ashburn-va",
"name": "Ashburn",
"record_type": "region"
},
"region_code": "ashburn-va"
}
}