Create a WireGuard Interface
Create a new WireGuard Interface. Current limitation of 10 interfaces per user can be created.
Request body
Example request
{
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "sample_record_type",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z",
"network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"name": "test interface",
"status": "provisioned",
"endpoint": "203.0.113.0:51871",
"public_key": "qF4EqlZq+5JL2IKYY8ij49daYyfKVhevJrcDxdqC8GU=",
"region_code": "ashburn-va"
}Response
Successful response
Example response
{
"data": {
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "sample_record_type",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z",
"network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"name": "test interface",
"status": "provisioned",
"endpoint": "203.0.113.0:51871",
"public_key": "qF4EqlZq+5JL2IKYY8ij49daYyfKVhevJrcDxdqC8GU=",
"region_code": "ashburn-va",
"region": {
"code": "ashburn-va",
"name": "Ashburn",
"record_type": "region"
}
}
}Changes
Changed in 4 of the 47 revisions of this API.42428
- ▲
the
dataresponse's property type/format changed fromobject/to/for status202response-property-type-changed
- ●
removed the optional property
data/created_atfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/enable_sip_trunkingfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/endpointfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/idfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/namefrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/network_idfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/public_keyfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/record_typefrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/regionfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/region_codefrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/statusfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/updated_atfrom the response with the202statusresponse-optional-property-removed
- ○
added
WireguardInterfaceRegionOutto thedataresponse propertyallOflist for the response status202response-property-all-of-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
dataresponse's property type/format changed from/toobject/for status202response-property-type-changed
- ○
added the optional property
data/created_atto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/enable_sip_trunkingto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/endpointto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/idto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/nameto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/network_idto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/public_keyto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/record_typeto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/regionto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/region_codeto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/statusto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/updated_atto the response with the202statusresponse-optional-property-added
- ○
removed
WireguardInterfaceRegionOutfrom thedataresponse propertyallOflist for the response status202response-property-all-of-removed
- ▲
- ▲
the
dataresponse's property type/format changed fromobject/to/for status202response-property-type-changed
- ●
removed the optional property
data/created_atfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/enable_sip_trunkingfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/endpointfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/idfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/namefrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/network_idfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/public_keyfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/record_typefrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/regionfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/region_codefrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/statusfrom the response with the202statusresponse-optional-property-removed
- ●
removed the optional property
data/updated_atfrom the response with the202statusresponse-optional-property-removed
- ○
added
WireguardInterfaceRegionOutto thedataresponse propertyallOflist for the response status202response-property-all-of-added
- ▲
- ▲
the
dataresponse's property type/format changed from/toobject/for status202response-property-type-changed
- ○
added the optional property
data/created_atto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/enable_sip_trunkingto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/endpointto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/idto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/nameto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/network_idto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/public_keyto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/record_typeto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/regionto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/region_codeto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/statusto the response with the202statusresponse-optional-property-added
- ○
added the optional property
data/updated_atto the response with the202statusresponse-optional-property-added
- ○
removed
WireguardInterfaceRegionOutfrom thedataresponse propertyallOflist for the response status202response-property-all-of-removed
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲