Create a Global IP assignment
Assigns a Global IP to a WireGuard peer so traffic destined for the IP is delivered over that peer's tunnel. Assignment is asynchronous, so the request is accepted and completes in the background.
Request body
Example request
{
"created_at": "2018-02-02T22:25:27.521Z",
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "global_ip_assignment",
"updated_at": "2018-02-02T22:25:27.521Z",
"global_ip_id": "a836125b-20b6-452e-9c03-2653f09c7ed7",
"status": "provisioned",
"wireguard_peer_id": "e66c496d-4a85-423b-8b2a-8e63fac20320"
}Response
Assignment request accepted. Provisioning is asynchronous; poll GET /global_ip_assignments/{id} with the returned id to check status.
Example response
{
"data": {
"created_at": "2018-02-02T22:25:27.521Z",
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "global_ip_assignment",
"updated_at": "2018-02-02T22:25:27.521Z",
"global_ip_id": "a836125b-20b6-452e-9c03-2653f09c7ed7",
"status": "provisioned",
"wireguard_peer_id": "e66c496d-4a85-423b-8b2a-8e63fac20320"
}
}Changes
Changed in 2 of the 61 revisions of this API.4
- ▲
the
//response's property type changed fromintegertostring, and format fromint32to no format for statusresponse-property-type-changed
- ▲
the
//response's property type changed fromintegertostring, and format fromint32to no format for statusresponse-property-type-changed
This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
//response's property type changed fromstringtointeger, and format from no format toint32for statusresponse-property-type-changed
- ▲
the
//response's property type changed fromstringtointeger, and format from no format toint32for statusresponse-property-type-changed
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲