{
"message": "The request could not be carried out."
}
{
"message": "Unauthenticated."
}
{
"message": "This API key is not allowed to do that in this team. It needs the \"snapshot.delete\" permission."
}
{
"message": "Not found."
}
{
"message": "Too Many Attempts."
}
IP addresses
Swap a floating IP with the primary address
Overview
Makes an attached, active floating IPv4 address the primary address of its server, and turns the server’s previous primary address into this floating IP. Both addresses stay on the server, and the floating IP keeps its billing. The running server is reconfigured within a minute. Detach or cancel the floating IP afterwards to stop using the old address. The response is the floating IP, which now holds the previous primary address.
Permissions
Requires the network.update (Change networking) permission for the selected team. Resources outside that team return 404.
Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.
Whether the cancellation standing against this address can still be taken back. False for an immediate one, which gave the address away as it was filed.
The server this address was bought for, while it waits to be put there. It is attached as soon as the purchase has been paid for, and this goes back to null.
Which way the address is moving while a worker attaches or detaches it, or null once it has settled. An attaching address is not on attaching_to yet; a detaching one is still on server.
Available options:
attaching,
detaching,
null
Example:
null
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Advin Servers","colors":{"primary":"#232323","light":"#ffffff","dark":"#232323"},"logo":{"light":"https://mintcdn.com/advinservers/hsoR78mplm26jwSe/logo/light.svg?fit=max\u0026auto=format\u0026n=hsoR78mplm26jwSe\u0026q=85\u0026s=5adfd787faa2746d42842a3dbe9d5c55","dark":"https://mintcdn.com/advinservers/pwCfGukIkzeLYqrm/logo/dark.svg?fit=max\u0026auto=format\u0026n=pwCfGukIkzeLYqrm\u0026q=85\u0026s=97d478977cc103da1d2432e03943b388"},"favicon":"https://mintcdn.com/advinservers/MD6yusifmHDEhuzq/logo/logo.jpg?fit=max\u0026auto=format\u0026n=MD6yusifmHDEhuzq\u0026q=85\u0026s=4a842dcaf66f28bd660d8b3448d9ca0c","appearance":{"default":"dark","strict":false},"background":{"color":{"dark":"#0d0d0d"}},"navbar":{"links":[{"href":"https://clients.advinservers.com/contact.php","label":"Support"}],"primary":{"type":"button","label":"Home","href":"https://clients.advinservers.com"}},"footer":{"socials":{"twitter":"https://x.com/@advinservers","linkedin":"https://www.linkedin.com/company/98505920","facebook":"https://www.facebook.com/profile.php?id=61554233398872","instagram":"https://www.instagram.com/advin_servers"}},"fonts":{"family":"Geist"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Console","icon":"terminal","href":"https://console.advinservers.com"},{"anchor":"Network Status","icon":"signal-bars","href":"https://status.advinservers.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"advinservers","hasAudioNarration":false,"actualSubdomain":"advinservers","customDomains":["docs.advinservers.com"],"gitSource":{"type":"github","owner":"advin-servers","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af2def2a8d5ba2dc2cd4074","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API","count":219},{"language":"default","tag":"Endpoints","count":218},{"language":"default","tag":"Console","count":30},{"language":"default","tag":"Billing","count":24},{"language":"default","tag":"Servers","count":19},{"language":"default","tag":"General","count":15},{"language":"default","tag":"Bandwidth","count":15},{"language":"default","tag":"Firewall groups","count":15},{"language":"default","tag":"Server settings","count":15},{"language":"default","tag":"Snapshots","count":15}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":".dark{--background-dark: 13 13 13;--gray-50: 237 237 237;--gray-100: 237 237 237;--gray-200: 237 237 237;--gray-300: 204 204 204;--gray-400: 161 161 161;--gray-500: 138 138 138;--gray-600: 52 52 52;--gray-700: 44 44 44;--gray-800: 30 30 30;--gray-900: 22 22 22;--gray-950: 15 15 15;--primary-dark: 212 212 212}.dark #navbar>div:first-child{background-color:#0f0f0f;border-color:#343434}.dark #search-bar-entry,.dark #search-bar-entry-mobile{background-color:#0f0f0f;border-color:#404040;color:#a1a1a1}.dark #topbar-cta-button a>div,.dark #topbar-cta-button a>div>*{color:#0d0d0d}.dark #sidebar [aria-current=\"page\"],.dark #sidebar .bg-primary\\/10{background-color:#1e1e1e;color:#ededed}.dark .code-block{background-color:#0f0f0f;border-color:#343434}.dark .prose :not(pre)>code{background-color:#161616;border-color:#343434;color:#ededed}.dark .card,.dark [data-component-part=\"card\"],.dark .accordion,.dark [data-component-part=\"accordion\"]{background-color:#0f0f0f;border-color:#343434}.dark .callout{--callout-rgb: 59 130 246;--callout-text: 147 197 253;--callout-icon: 96 165 250;--callout-bg-alpha: 0.07;--callout-border-alpha: 0.25;background-color:rgb(var(--callout-rgb) / var(--callout-bg-alpha));border-color:rgb(var(--callout-rgb) / var(--callout-border-alpha));color:rgb(var(--callout-text) / 0.8)}.dark .callout [data-component-part=\"callout-icon\"],.dark .callout [data-component-part=\"callout-icon\"] svg{color:rgb(var(--callout-icon))}.dark .callout [data-component-part=\"callout-content\"],.dark .callout [data-component-part=\"callout-content\"] :is(p,li,strong,a,span){color:rgb(var(--callout-text) / 0.8)}.dark .callout[data-callout-type=\"tip\"],.dark .callout[data-callout-type=\"check\"]{--callout-rgb: 22 163 74;--callout-text: 134 239 172;--callout-icon: 74 222 128}.dark .callout[data-callout-type=\"warning\"]{--callout-rgb: 228 158 34;--callout-text: 247 185 85;--callout-icon: 247 185 85;--callout-bg-alpha: 0.09;--callout-border-alpha: 0.3}.dark .callout[data-callout-type=\"danger\"]{--callout-rgb: 189 65 63;--callout-text: 211 117 115;--callout-icon: 211 117 115}.dark .mdx-content img{border:1px solid #343434}"}],"page":{"pagePath":"api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address","slug":"/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address","pageMetadata":{"title":"Swap a floating IP with the primary address","description":"### Overview\n\nMakes an attached, active floating IPv4 address the primary address of its server, and turns the server's previous primary address into this floating IP. Both addresses stay on the server, and the floating IP keeps its billing. The running server is reconfigured within a minute. Detach or cancel the floating IP afterwards to stop using the old address. The response is the floating IP, which now holds the previous primary address.\n\n### Permissions\n\nRequires the `network.update` (Change networking) permission for the selected team. Resources outside that team return 404.","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/{floatingIp}/swap-primary","href":"/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n h3: \"h3\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.h3, {\n children: \"Overview\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Makes an attached, active floating IPv4 address the primary address of its server, and turns the server’s previous primary address into this floating IP. Both addresses stay on the server, and the floating IP keeps its billing. The running server is reconfigured within a minute. Detach or cancel the floating IP afterwards to stop using the old address. The response is the floating IP, which now holds the previous primary address.\"\n }), \"\\n\", _jsx(_components.h3, {\n children: \"Permissions\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Requires the \", _jsx(_components.code, {\n children: \"network.update\"\n }), \" (Change networking) permission for the selected team. Resources outside that team return 404.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Swap a floating IP with the primary address","description":"### Overview\n\nMakes an attached, active floating IPv4 address the primary address of its server, and turns the server's previous primary address into this floating IP. Both addresses stay on the server, and the floating IP keeps its billing. The running server is reconfigured within a minute. Detach or cancel the floating IP afterwards to stop using the old address. The response is the floating IP, which now holds the previous primary address.\n\n### Permissions\n\nRequires the `network.update` (Change networking) permission for the selected team. Resources outside that team return 404.","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/{floatingIp}/swap-primary","href":"/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"floatingIp.swapPrimary","description":"### Overview\n\nMakes an attached, active floating IPv4 address the primary address of its server, and turns the server's previous primary address into this floating IP. Both addresses stay on the server, and the floating IP keeps its billing. The running server is reconfigured within a minute. Detach or cancel the floating IP afterwards to stop using the old address. The response is the floating IP, which now holds the previous primary address.\n\n### Permissions\n\nRequires the `network.update` (Change networking) permission for the selected team. Resources outside that team return 404.","summary":"Swap a floating IP with the primary address","tags":["IP addresses"],"parameters":["2255010d-b370-4c7e-8004-480ef5236649"],"responses":{"200":"6a5b0d7c-866d-485c-ba9e-6f410039275c","400":"abb29f4f-8727-4781-b873-9305ccb86341","401":"ed703165-4dc7-4e3f-8798-982f07fa7831","403":"b15d05cb-90b8-4faa-90b1-705a748ea653","404":"b171f464-25c4-4b8a-b9fc-36f8af52c4ca","429":"f7e41738-b39f-4f7e-8cd3-3c966753687f"},"method":"post","type":"path","servers":["49ace053-d2ae-45c8-8b5e-9b487eb81f6a"],"security":["f8b33b37-6c4c-4349-ac95-09bac911f9ea"],"path":"/floating-ips/{floatingIp}/swap-primary","baseUrlOptions":["https://console.advinservers.com/api/v1/client"],"title":"Swap a floating IP with the primary address","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2255010d-b370-4c7e-8004-480ef5236649":{"name":"floatingIp","in":"path","required":true,"description":"The floating ip uuid short","schema":{"type":"string","examples":["1b8349e5-3568-43e0-bf89-fc3350dd7a08"],"isRequired":true,"description":"The floating ip uuid short","uniqueKey":"","typeLabel":"string"},"example":"1b8349e5-3568-43e0-bf89-fc3350dd7a08"}},"responses":{"6a5b0d7c-866d-485c-ba9e-6f410039275c":{"description":"The record, as a JSON object. There is no envelope.","content":{"application/json":{"schema":{"type":"object","title":"FloatingIpData","description":"A floating IP address and its current assignment.","required":["uuid","uuid_short","status","status_label","progress_message","needs_funds","type","address","cidr","gateway","onlink","is_primary","location","location_id","is_granted","can_release","billing","can_cancel_checkout","can_request_cancellation","can_withdraw_cancellation","cancellation_type","cancellation_requested_at","created_at","server","attaching_to","attachment_status"],"example":{"uuid":"1b8349e5-3568-43e0-bf89-fc3350dd7a08","uuid_short":"1b8349e5","status":"active","status_label":"Active","progress_message":null,"needs_funds":false,"type":"ipv4","address":"198.51.100.42","cidr":24,"gateway":"198.51.100.1","onlink":null,"is_primary":false,"location":"Kansas City, MO","location_id":3,"is_granted":false,"can_release":false,"billing":{"service_id":7421,"invoice_id":17214,"invoice_url":null,"checkout_uuid":null,"invoice_status":"Paid","amount":"3.00","currency":"USD","billing_cycle":"monthly","payment_due_at":null,"payment_window_minutes":null,"paid_at":"2026-06-20T14:03:58+00:00"},"can_cancel_checkout":false,"can_request_cancellation":true,"can_withdraw_cancellation":false,"cancellation_type":null,"cancellation_requested_at":null,"created_at":"2026-06-20T14:03:51+00:00","server":{"id":"ecc6f4f1","name":"lambda-core","hostname":"lambda-core.blackmesa.example.com","windows":false,"template_name":"Ubuntu 24.04","template_icon_url":"https://img.icons8.com/color/48/ubuntu.png"},"attaching_to":null,"attachment_status":null},"properties":{"uuid":{"type":"string","description":"The uuid UUID.","examples":["1b8349e5-3568-43e0-bf89-fc3350dd7a08"],"isRequired":true,"uniqueKey":"uuid","typeLabel":"string"},"uuid_short":{"type":"string","description":"The first eight characters of the UUID. Either form can identify the address.","examples":["1b8349e5"],"isRequired":true,"uniqueKey":"uuid_short","typeLabel":"string"},"status":{"type":"string","description":"The value of `status`.","enum":["pending_payment","active","pending_cancellation","deleting","expired","cancelled","payment_review"],"examples":["active"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"status_label":{"type":"string","description":"The value of `status_label`.","examples":["Active"],"isRequired":true,"uniqueKey":"status_label","typeLabel":"string"},"progress_message":{"oneOf":[{"type":"string","description":"One sentence about why a purchase is waiting, or null.","examples":[null],"isRequired":true,"uniqueKey":"progress_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"One sentence about why a purchase is waiting, or null.","examples":[null],"isRequired":true,"uniqueKey":"progress_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"progress_message","typeLabel":"string | null"},"needs_funds":{"type":"boolean","description":"Whether the purchase is waiting on account credit, which is the one wait the customer can end themselves.","examples":[false],"isRequired":true,"uniqueKey":"needs_funds","typeLabel":"boolean"},"type":{"type":"string","description":"The type of operation or resource.","enum":["ipv4","ipv6"],"examples":["ipv4"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"address":{"oneOf":[{"type":"string","description":"The IP address, or null after it has been released.","examples":["198.51.100.42"],"isRequired":true,"uniqueKey":"address.oneOf.0","typeLabel":"string"},{"type":"null","description":"The IP address, or null after it has been released.","examples":["198.51.100.42"],"isRequired":true,"uniqueKey":"address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"address","typeLabel":"string | null"},"cidr":{"oneOf":[{"type":"integer","description":"The network prefix length.","examples":[24],"isRequired":true,"uniqueKey":"cidr.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The network prefix length.","examples":[24],"isRequired":true,"uniqueKey":"cidr.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"cidr","typeLabel":"integer | null"},"gateway":{"oneOf":[{"type":"string","description":"The gateway address for the network.","examples":["198.51.100.1"],"isRequired":true,"uniqueKey":"gateway.oneOf.0","typeLabel":"string"},{"type":"null","description":"The gateway address for the network.","examples":["198.51.100.1"],"isRequired":true,"uniqueKey":"gateway.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"gateway","typeLabel":"string | null"},"onlink":{"oneOf":[{"type":"string","description":"The value of `onlink`.","examples":[null],"isRequired":true,"uniqueKey":"onlink.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value of `onlink`.","examples":[null],"isRequired":true,"uniqueKey":"onlink.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"onlink","typeLabel":"string | null"},"is_primary":{"type":"boolean","description":"Whether the resource is primary.","examples":[false],"isRequired":true,"uniqueKey":"is_primary","typeLabel":"boolean"},"location":{"oneOf":[{"type":"string","description":"The value of `location`.","examples":["Kansas City, MO"],"isRequired":true,"uniqueKey":"location.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value of `location`.","examples":["Kansas City, MO"],"isRequired":true,"uniqueKey":"location.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"location","typeLabel":"string | null"},"location_id":{"oneOf":[{"type":"integer","description":"The location id ID.","examples":[3],"isRequired":true,"uniqueKey":"location_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The location id ID.","examples":[3],"isRequired":true,"uniqueKey":"location_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"location_id","typeLabel":"integer | null"},"is_granted":{"type":"boolean","description":"Whether the resource is granted.","examples":[false],"isRequired":true,"uniqueKey":"is_granted","typeLabel":"boolean"},"can_release":{"type":"boolean","description":"Whether the customer can release.","examples":[false],"isRequired":true,"uniqueKey":"can_release","typeLabel":"boolean"},"billing":{"type":"object","description":"The value of `billing`.","examples":[{"service_id":7421,"invoice_id":17214,"invoice_url":null,"checkout_uuid":null,"invoice_status":"Paid","amount":"3.00","currency":"USD","billing_cycle":"monthly","payment_due_at":null,"payment_window_minutes":null,"paid_at":"2026-06-20T14:03:58+00:00"}],"properties":{"service_id":{"oneOf":[{"type":"integer","description":"The customer's service number, once a recurring service exists.","examples":[7312],"isRequired":true,"uniqueKey":"billing.service_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The customer's service number, once a recurring service exists.","examples":[7312],"isRequired":true,"uniqueKey":"billing.service_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.service_id","typeLabel":"integer | null"},"invoice_id":{"oneOf":[{"type":"integer","description":"The customer's invoice number, once an invoice exists.","examples":[15542],"isRequired":true,"uniqueKey":"billing.invoice_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The customer's invoice number, once an invoice exists.","examples":[15542],"isRequired":true,"uniqueKey":"billing.invoice_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.invoice_id","typeLabel":"integer | null"},"invoice_url":{"oneOf":[{"type":"string","description":"A complete URL where the invoice can be paid.","examples":[null],"isRequired":true,"uniqueKey":"billing.invoice_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"A complete URL where the invoice can be paid.","examples":[null],"isRequired":true,"uniqueKey":"billing.invoice_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.invoice_url","typeLabel":"string | null"},"checkout_uuid":{"oneOf":[{"type":"string","description":"The checkout UUID, or null when no checkout is available.","examples":[null],"isRequired":true,"uniqueKey":"billing.checkout_uuid.oneOf.0","typeLabel":"string"},{"type":"null","description":"The checkout UUID, or null when no checkout is available.","examples":[null],"isRequired":true,"uniqueKey":"billing.checkout_uuid.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.checkout_uuid","typeLabel":"string | null"},"invoice_status":{"oneOf":[{"type":"string","description":"The current invoice status, or null before an invoice exists.","examples":["Paid"],"isRequired":true,"uniqueKey":"billing.invoice_status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The current invoice status, or null before an invoice exists.","examples":["Paid"],"isRequired":true,"uniqueKey":"billing.invoice_status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.invoice_status","typeLabel":"string | null"},"amount":{"oneOf":[{"type":"string","description":"The amount in the currency shown by `currency`.","examples":["12.00"],"isRequired":true,"uniqueKey":"billing.amount.oneOf.0","typeLabel":"string"},{"type":"null","description":"The amount in the currency shown by `currency`.","examples":["12.00"],"isRequired":true,"uniqueKey":"billing.amount.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.amount","typeLabel":"string | null"},"currency":{"oneOf":[{"type":"string","description":"The three-letter currency code used for `amount`.","examples":["USD"],"isRequired":true,"uniqueKey":"billing.currency.oneOf.0","typeLabel":"string"},{"type":"null","description":"The three-letter currency code used for `amount`.","examples":["USD"],"isRequired":true,"uniqueKey":"billing.currency.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.currency","typeLabel":"string | null"},"billing_cycle":{"oneOf":[{"type":"string","description":"How often the service renews, or null for a one-time charge.","examples":["monthly"],"isRequired":true,"uniqueKey":"billing.billing_cycle.oneOf.0","typeLabel":"string"},{"type":"null","description":"How often the service renews, or null for a one-time charge.","examples":["monthly"],"isRequired":true,"uniqueKey":"billing.billing_cycle.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.billing_cycle","typeLabel":"string | null"},"payment_due_at":{"oneOf":[{"type":"string","description":"When payment is due before the reservation is released.","examples":[null],"isRequired":true,"uniqueKey":"billing.payment_due_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When payment is due before the reservation is released.","examples":[null],"isRequired":true,"uniqueKey":"billing.payment_due_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.payment_due_at","typeLabel":"string | null"},"payment_window_minutes":{"oneOf":[{"type":"integer","description":"How many minutes the original payment window allowed.","examples":[null],"isRequired":true,"uniqueKey":"billing.payment_window_minutes.oneOf.0","typeLabel":"integer"},{"type":"null","description":"How many minutes the original payment window allowed.","examples":[null],"isRequired":true,"uniqueKey":"billing.payment_window_minutes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.payment_window_minutes","typeLabel":"integer | null"},"paid_at":{"oneOf":[{"type":"string","description":"When the charge was paid, or null while payment is outstanding.","examples":["2026-03-02T19:13:58+00:00"],"isRequired":true,"uniqueKey":"billing.paid_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the charge was paid, or null while payment is outstanding.","examples":["2026-03-02T19:13:58+00:00"],"isRequired":true,"uniqueKey":"billing.paid_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.paid_at","typeLabel":"string | null"}},"required":["service_id","invoice_id","invoice_url","checkout_uuid","invoice_status","amount","currency","billing_cycle","payment_due_at","payment_window_minutes","paid_at"],"title":"BillingData","isRequired":true,"uniqueKey":"billing","typeLabel":"BillingData · object"},"can_cancel_checkout":{"type":"boolean","description":"Whether the customer can cancel checkout.","examples":[false],"isRequired":true,"uniqueKey":"can_cancel_checkout","typeLabel":"boolean"},"can_request_cancellation":{"type":"boolean","description":"Whether the customer can request cancellation.","examples":[true],"isRequired":true,"uniqueKey":"can_request_cancellation","typeLabel":"boolean"},"can_withdraw_cancellation":{"type":"boolean","description":"Whether the cancellation standing against this address can still be taken back. False for an immediate one, which gave the address away as it was filed.","examples":[false],"isRequired":true,"uniqueKey":"can_withdraw_cancellation","typeLabel":"boolean"},"cancellation_type":{"oneOf":[{"type":"string","description":"The value of `cancellation_type`.","enum":["immediate","end_of_billing",null],"examples":[null],"isRequired":true,"uniqueKey":"cancellation_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The value of `cancellation_type`.","enum":["immediate","end_of_billing",null],"examples":[null],"isRequired":true,"uniqueKey":"cancellation_type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"cancellation_type","typeLabel":"enum\u003cstring> | null"},"cancellation_requested_at":{"oneOf":[{"type":"string","description":"The date and time for cancellation requested at, in UTC.","examples":[null],"isRequired":true,"uniqueKey":"cancellation_requested_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date and time for cancellation requested at, in UTC.","examples":[null],"isRequired":true,"uniqueKey":"cancellation_requested_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"cancellation_requested_at","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"The date and time for created at, in UTC.","examples":["2026-06-20T14:03:51+00:00"],"isRequired":true,"uniqueKey":"created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date and time for created at, in UTC.","examples":["2026-06-20T14:03:51+00:00"],"isRequired":true,"uniqueKey":"created_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"created_at","typeLabel":"string | null"},"server":{"oneOf":[{"type":"object","title":"FloatingIpServerData","description":"Null whenever the address is held but parked on nothing, which is a perfectly ordinary state for a floating address to sit in.","required":["id","name","hostname","windows","template_name","template_icon_url"],"example":{"id":"ecc6f4f1","name":"lambda-core","hostname":"lambda-core.blackmesa.example.com","windows":false,"template_name":"Ubuntu 24.04","template_icon_url":"https://img.icons8.com/color/48/ubuntu.png"},"properties":{"id":{"type":"string","description":"The id ID.","examples":["ecc6f4f1"],"isRequired":true,"uniqueKey":"server.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"The name shown to customers.","examples":["lambda-core"],"isRequired":true,"uniqueKey":"server.oneOf.0.name","typeLabel":"string"},"hostname":{"type":"string","description":"The fully qualified hostname.","examples":["lambda-core.blackmesa.example.com"],"isRequired":true,"uniqueKey":"server.oneOf.0.hostname","typeLabel":"string"},"windows":{"type":"boolean","description":"The value of `windows`.","examples":[false],"isRequired":true,"uniqueKey":"server.oneOf.0.windows","typeLabel":"boolean"},"template_name":{"oneOf":[{"type":"string","description":"The value of `template_name`.","examples":["Ubuntu 24.04"],"isRequired":true,"uniqueKey":"server.oneOf.0.template_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value of `template_name`.","examples":["Ubuntu 24.04"],"isRequired":true,"uniqueKey":"server.oneOf.0.template_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"server.oneOf.0.template_name","typeLabel":"string | null"},"template_icon_url":{"oneOf":[{"type":"string","description":"The value of `template_icon_url`.","examples":["https://img.icons8.com/color/48/ubuntu.png"],"isRequired":true,"uniqueKey":"server.oneOf.0.template_icon_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value of `template_icon_url`.","examples":["https://img.icons8.com/color/48/ubuntu.png"],"isRequired":true,"uniqueKey":"server.oneOf.0.template_icon_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"server.oneOf.0.template_icon_url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"server.oneOf.0","typeLabel":"FloatingIpServerData · object"},{"type":"null","description":"Null whenever the address is held but parked on nothing, which is a perfectly ordinary state for a floating address to sit in.","example":{"id":"ecc6f4f1","name":"lambda-core","hostname":"lambda-core.blackmesa.example.com","windows":false,"template_name":"Ubuntu 24.04","template_icon_url":"https://img.icons8.com/color/48/ubuntu.png"},"isRequired":true,"uniqueKey":"server.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"server","typeLabel":"FloatingIpServerData · object | null"},"attaching_to":{"oneOf":[{"type":"object","title":"FloatingIpServerData","description":"The server this address was bought for, while it waits to be put there. It is attached as soon as the purchase has been paid for, and this goes back to null.","required":["id","name","hostname","windows","template_name","template_icon_url"],"example":null,"properties":{"id":{"type":"string","description":"The id ID.","examples":["ecc6f4f1"],"isRequired":true,"uniqueKey":"attaching_to.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"The name shown to customers.","examples":["lambda-core"],"isRequired":true,"uniqueKey":"attaching_to.oneOf.0.name","typeLabel":"string"},"hostname":{"type":"string","description":"The fully qualified hostname.","examples":["lambda-core.blackmesa.example.com"],"isRequired":true,"uniqueKey":"attaching_to.oneOf.0.hostname","typeLabel":"string"},"windows":{"type":"boolean","description":"The value of `windows`.","examples":[false],"isRequired":true,"uniqueKey":"attaching_to.oneOf.0.windows","typeLabel":"boolean"},"template_name":{"oneOf":[{"type":"string","description":"The value of `template_name`.","examples":["Ubuntu 24.04"],"isRequired":true,"uniqueKey":"attaching_to.oneOf.0.template_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value of `template_name`.","examples":["Ubuntu 24.04"],"isRequired":true,"uniqueKey":"attaching_to.oneOf.0.template_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attaching_to.oneOf.0.template_name","typeLabel":"string | null"},"template_icon_url":{"oneOf":[{"type":"string","description":"The value of `template_icon_url`.","examples":["https://img.icons8.com/color/48/ubuntu.png"],"isRequired":true,"uniqueKey":"attaching_to.oneOf.0.template_icon_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value of `template_icon_url`.","examples":["https://img.icons8.com/color/48/ubuntu.png"],"isRequired":true,"uniqueKey":"attaching_to.oneOf.0.template_icon_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attaching_to.oneOf.0.template_icon_url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"attaching_to.oneOf.0","typeLabel":"FloatingIpServerData · object"},{"type":"null","description":"The server this address was bought for, while it waits to be put there. It is attached as soon as the purchase has been paid for, and this goes back to null.","example":null,"isRequired":true,"uniqueKey":"attaching_to.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attaching_to","typeLabel":"FloatingIpServerData · object | null"},"attachment_status":{"oneOf":[{"type":"string","description":"Which way the address is moving while a worker attaches or detaches it, or null once it has settled. An attaching address is not on `attaching_to` yet; a detaching one is still on `server`.","enum":["attaching","detaching",null],"examples":[null],"isRequired":true,"uniqueKey":"attachment_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Which way the address is moving while a worker attaches or detaches it, or null once it has settled. An attaching address is not on `attaching_to` yet; a detaching one is still on `server`.","enum":["attaching","detaching",null],"examples":[null],"isRequired":true,"uniqueKey":"attachment_status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attachment_status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"","typeLabel":"FloatingIpData · object"},"examples":{"Example":{"title":"Example","value":{"uuid":"1b8349e5-3568-43e0-bf89-fc3350dd7a08","uuid_short":"1b8349e5","status":"active","status_label":"Active","progress_message":null,"needs_funds":false,"type":"ipv4","address":"198.51.100.42","cidr":24,"gateway":"198.51.100.1","onlink":null,"is_primary":false,"location":"Kansas City, MO","location_id":3,"is_granted":false,"can_release":false,"billing":{"service_id":7421,"invoice_id":17214,"invoice_url":null,"checkout_uuid":null,"invoice_status":"Paid","amount":"3.00","currency":"USD","billing_cycle":"monthly","payment_due_at":null,"payment_window_minutes":null,"paid_at":"2026-06-20T14:03:58+00:00"},"can_cancel_checkout":false,"can_request_cancellation":true,"can_withdraw_cancellation":false,"cancellation_type":null,"cancellation_requested_at":null,"created_at":"2026-06-20T14:03:51+00:00","server":{"id":"ecc6f4f1","name":"lambda-core","hostname":"lambda-core.blackmesa.example.com","windows":false,"template_name":"Ubuntu 24.04","template_icon_url":"https://img.icons8.com/color/48/ubuntu.png"},"attaching_to":null,"attachment_status":null}}},"exampleType":"generated"}},"exampleType":"generated"},"abb29f4f-8727-4781-b873-9305ccb86341":{"description":"The address cannot be swapped in its current state.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","examples":["The request could not be carried out."],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"The request could not be carried out."}}},"exampleType":"generated"}},"exampleType":"generated"},"ed703165-4dc7-4e3f-8798-982f07fa7831":{"description":"The key was missing, malformed, revoked, or belongs to an account that no longer exists.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","examples":["Unauthenticated."],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Unauthenticated."}}},"exampleType":"generated"}},"exampleType":"generated"},"b15d05cb-90b8-4faa-90b1-705a748ea653":{"description":"Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","examples":["This API key is not allowed to do that in this team. It needs the \"snapshot.delete\" permission."],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"This API key is not allowed to do that in this team. It needs the \"snapshot.delete\" permission."}}},"exampleType":"generated"}},"exampleType":"generated"},"b171f464-25c4-4b8a-b9fc-36f8af52c4ca":{"description":"The resource was not found in the selected team. Resources in another account or team also return 404.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","examples":["Not found."],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Not found."}}},"exampleType":"generated"}},"exampleType":"generated"},"f7e41738-b39f-4f7e-8cd3-3c966753687f":{"description":"Too many requests. The `Retry-After` header says how many seconds to wait. Limits are per account, so several keys on one account share them.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","examples":["Too Many Attempts."],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Too Many Attempts."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f8b33b37-6c4c-4349-ac95-09bac911f9ea":{"http":{"type":"http","description":"Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.","scheme":"bearer","scopes":[],"schemeName":"http"}}},"servers":{"49ace053-d2ae-45c8-8b5e-9b487eb81f6a":{"url":"https://console.advinservers.com/api/v1/client"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.","scheme":"bearer","scopes":[],"schemeName":"http"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"http","name":"Authorization"}],"title":"http"}]},"originalFileLocation":"https://console.advinservers.com/docs/openapi.json"},"subdomain":"advinservers","siteName":"Advin Servers","title":"Swap a floating IP with the primary address - Advin Servers","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T09:08:17.428Z","originalFileLocation":"api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"### Overview Makes an attached, active floating IPv4 address the primary address of its server, and turns the server\u0026#x27;s previous primary address into this floating IP. Both addresses stay on the server, and the floating IP keeps its billing. The running server is reconfigured within a minute. Detach or cancel the floating IP afterwards to stop using the old address. The response is the floating IP, which now holds the previous primary address. ### Permissions Requires the network.update (Change networking) permission for the selected team. Resources outside that team return 404.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Advin Servers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/advinservers/RPny3aqgeedmf-mE/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/advinservers/RPny3aqgeedmf-mE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/advinservers/RPny3aqgeedmf-mE/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/advinservers/RPny3aqgeedmf-mE/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/advinservers/RPny3aqgeedmf-mE/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/advinservers/RPny3aqgeedmf-mE/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/advinservers/RPny3aqgeedmf-mE/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/advinservers/RPny3aqgeedmf-mE/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/advinservers/RPny3aqgeedmf-mE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Swap a floating IP with the primary address - Advin Servers\">\u003cmeta data-mint-head property=\"og:description\" content=\"### Overview Makes an attached, active floating IPv4 address the primary address of its server, and turns the server\u0026#x27;s previous primary address into this floating IP. Both addresses stay on the server, and the floating IP keeps its billing. The running server is reconfigured within a minute. Detach or cancel the floating IP afterwards to stop using the old address. The response is the floating IP, which now holds the previous primary address. ### Permissions Requires the network.update (Change networking) permission for the selected team. Resources outside that team return 404.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Advin Servers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.advinservers.com/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://advinservers.mintlify.site/_mintlify/api/og/v2?division=IP+addresses\u0026amp;title=Swap+a+floating+IP+with+the+primary+address\u0026amp;description=%23%23%23+Overview%0A%0AMakes+an+attached%2C+active+floating+IPv4+address+the+primary+address+of+its+server%2C+and+turns+the+server%27s+previous+primary+address+into+this+float\u0026amp;theme=d60cb8f636d682ed22c76013\u0026amp;signature=3e105555383350a18c09b68aa81013305812ec53ee5967c41ad0fb2d757dbe61\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Swap a floating IP with the primary address - Advin Servers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"### Overview Makes an attached, active floating IPv4 address the primary address of its server, and turns the server\u0026#x27;s previous primary address into this floating IP. Both addresses stay on the server, and the floating IP keeps its billing. The running server is reconfigured within a minute. Detach or cancel the floating IP afterwards to stop using the old address. The response is the floating IP, which now holds the previous primary address. ### Permissions Requires the network.update (Change networking) permission for the selected team. Resources outside that team return 404.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://advinservers.mintlify.site/_mintlify/api/og/v2?division=IP+addresses\u0026amp;title=Swap+a+floating+IP+with+the+primary+address\u0026amp;description=%23%23%23+Overview%0A%0AMakes+an+attached%2C+active+floating+IPv4+address+the+primary+address+of+its+server%2C+and+turns+the+server%27s+previous+primary+address+into+this+float\u0026amp;theme=d60cb8f636d682ed22c76013\u0026amp;signature=3e105555383350a18c09b68aa81013305812ec53ee5967c41ad0fb2d757dbe61\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/advinservers/RPny3aqgeedmf-mE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Advin Servers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#232323\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.advinservers.com/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.advinservers.com/#organization\",\"name\":\"Advin Servers\",\"url\":\"https://docs.advinservers.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/advinservers/hsoR78mplm26jwSe/logo/light.svg?fit=max\u0026auto=format\u0026n=hsoR78mplm26jwSe\u0026q=85\u0026s=5adfd787faa2746d42842a3dbe9d5c55\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.advinservers.com#website\",\"name\":\"Advin Servers\",\"url\":\"https://docs.advinservers.com\",\"publisher\":{\"@id\":\"https://docs.advinservers.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.advinservers.com/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address#webpage\",\"url\":\"https://docs.advinservers.com/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address\",\"name\":\"Swap a floating IP with the primary address\",\"description\":\"### Overview Makes an attached, active floating IPv4 address the primary address of its server, and turns the server's previous primary address into this floating IP. Both addresses stay on the server, and the floating IP keeps its billing. The running server is reconfigured within a minute. Detach or cancel the floating IP afterwards to stop using the old address. The response is the floating IP, which now holds the previous primary address. ### Permissions Requires the network.update (Change networking) permission for the selected team. Resources outside that team return 404.\",\"dateModified\":\"2026-11-10T09:08:17.428Z\",\"isPartOf\":{\"@id\":\"https://docs.advinservers.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.advinservers.com/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.advinservers.com/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.advinservers.com/api-reference/account/get-account-details\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"IP addresses\",\"item\":\"https://docs.advinservers.com/api-reference/ip-addresses/list-floating-ips\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Swap a floating IP with the primary address\",\"item\":\"https://docs.advinservers.com/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.advinservers.com/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address#apireference\",\"headline\":\"Swap a floating IP with the primary address\",\"name\":\"Swap a floating IP with the primary address\",\"description\":\"### Overview Makes an attached, active floating IPv4 address the primary address of its server, and turns the server's previous primary address into this floating IP. Both addresses stay on the server, and the floating IP keeps its billing. The running server is reconfigured within a minute. Detach or cancel the floating IP afterwards to stop using the old address. The response is the floating IP, which now holds the previous primary address. ### Permissions Requires the network.update (Change networking) permission for the selected team. Resources outside that team return 404.\",\"url\":\"https://docs.advinservers.com/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address\",\"mainEntityOfPage\":{\"@id\":\"https://docs.advinservers.com/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address#webpage\"},\"dateModified\":\"2026-11-10T09:08:17.428Z\",\"publisher\":{\"@id\":\"https://docs.advinservers.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.advinservers.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Advin Servers\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Advin Servers","nav":{"global":{"anchors":[{"anchor":"Console","icon":"terminal","href":"https://console.advinservers.com"},{"anchor":"Network Status","icon":"signal-bars","href":"https://status.advinservers.com"}]},"tabs":[{"tab":"General","icon":"book-open","pages":[{"title":"General","href":"/introduction"}]},{"tab":"Console","icon":"terminal","pages":[{"title":"Console","href":"/guides/controlpanel"}]},{"tab":"Policies","icon":"scale-balanced","pages":[{"title":"Policies","href":"/policies/fair-use"}]},{"tab":"API","icon":"code","groups":[{"group":"Getting Started","pages":[{"title":"API Introduction","sidebarTitle":"Introduction","icon":"code","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Account","pages":[{"title":"Get account details","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /account","href":"/api-reference/account/get-account-details"},{"title":"Update account details","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /account","href":"/api-reference/account/update-account-details"},{"title":"Check account setup progress","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /account/setup","href":"/api-reference/account/check-account-setup-progress"},{"title":"Accept the terms of service","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /account/setup/terms","href":"/api-reference/account/accept-the-terms-of-service"}]},{"group":"Account activity","pages":[{"title":"List account activity","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /audit-logs","href":"/api-reference/account-activity/list-account-activity"}]},{"group":"Backups","pages":[{"title":"List a server's backups","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/backups","href":"/api-reference/backups/list-a-servers-backups"},{"title":"Restore a backup","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/backups/{backup}/restore","href":"/api-reference/backups/restore-a-backup"},{"title":"Delete a backup","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /servers/{server}/backups/{backup}","href":"/api-reference/backups/delete-a-backup"},{"title":"Delete multiple backups","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/backups/bulk/delete","href":"/api-reference/backups/delete-multiple-backups"},{"title":"Get the nightly backup setting","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/backups/schedule","href":"/api-reference/backups/get-the-nightly-backup-setting"},{"title":"Enable or disable nightly backups","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/backups/schedule","href":"/api-reference/backups/enable-or-disable-nightly-backups"}]},{"group":"Bandwidth","pages":[{"title":"List bandwidth blocks","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /bandwidth-blocks","href":"/api-reference/bandwidth/list-bandwidth-blocks"},{"title":"Buy a bandwidth block","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /bandwidth-blocks","href":"/api-reference/bandwidth/buy-a-bandwidth-block"},{"title":"Get bandwidth prices","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /bandwidth-blocks/catalog","href":"/api-reference/bandwidth/get-bandwidth-prices"},{"title":"List bandwidth usage by location","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /bandwidth-blocks/pools","href":"/api-reference/bandwidth/list-bandwidth-usage-by-location"},{"title":"List locations for bandwidth pools","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /bandwidth-blocks/locations","href":"/api-reference/bandwidth/list-locations-for-bandwidth-pools"},{"title":"Enable or disable bandwidth pooling for a location","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /bandwidth-blocks/pooling","href":"/api-reference/bandwidth/enable-or-disable-bandwidth-pooling-for-a-location"},{"title":"Preview a bandwidth pooling change","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /bandwidth-blocks/pooling/preview","href":"/api-reference/bandwidth/preview-a-bandwidth-pooling-change"},{"title":"Get a quote for a bandwidth block","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /bandwidth-blocks/quote","href":"/api-reference/bandwidth/get-a-quote-for-a-bandwidth-block"},{"title":"List servers a bandwidth block can be assigned to","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /bandwidth-blocks/{bandwidthBlock}/servers","href":"/api-reference/bandwidth/list-servers-a-bandwidth-block-can-be-assigned-to"},{"title":"List bandwidth block usage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /bandwidth-blocks/{bandwidthBlock}/draws","href":"/api-reference/bandwidth/list-bandwidth-block-usage"},{"title":"Assign a bandwidth block to a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /bandwidth-blocks/{bandwidthBlock}/attach","href":"/api-reference/bandwidth/assign-a-bandwidth-block-to-a-server"},{"title":"Remove a bandwidth block from a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /bandwidth-blocks/{bandwidthBlock}/detach","href":"/api-reference/bandwidth/remove-a-bandwidth-block-from-a-server"},{"title":"Assign a bandwidth block to a location pool","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /bandwidth-blocks/{bandwidthBlock}/bind","href":"/api-reference/bandwidth/assign-a-bandwidth-block-to-a-location-pool"},{"title":"Remove a bandwidth block from a location pool","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /bandwidth-blocks/{bandwidthBlock}/unbind","href":"/api-reference/bandwidth/remove-a-bandwidth-block-from-a-location-pool"},{"title":"Cancel an unpaid bandwidth block","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /bandwidth-blocks/{bandwidthBlock}/cancel","href":"/api-reference/bandwidth/cancel-an-unpaid-bandwidth-block"}]},{"group":"Billing","pages":[{"title":"List service billing details","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/services","href":"/api-reference/billing/list-service-billing-details"},{"title":"List services with payment settings","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/managed-services","href":"/api-reference/billing/list-services-with-payment-settings"},{"title":"Get a service","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/managed-services/{service}","href":"/api-reference/billing/get-a-service"},{"title":"Set up automatic payment for a service","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /billing/managed-services/{service}/subscription","href":"/api-reference/billing/set-up-automatic-payment-for-a-service"},{"title":"Stop a service's automatic payment","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /billing/managed-services/{service}/subscription","href":"/api-reference/billing/stop-a-services-automatic-payment"},{"title":"List billing cycle prices","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/managed-services/{service}/billing-cycle","href":"/api-reference/billing/list-billing-cycle-prices"},{"title":"Change a service's billing cycle","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /billing/managed-services/{service}/billing-cycle","href":"/api-reference/billing/change-a-services-billing-cycle"},{"title":"Enable or disable account credit for a service","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /billing/managed-services/{service}/account-credit","href":"/api-reference/billing/enable-or-disable-account-credit-for-a-service"},{"title":"Cancel a service","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /billing/managed-services/{service}/cancel","href":"/api-reference/billing/cancel-a-service"},{"title":"Withdraw a service cancellation","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /billing/managed-services/{service}/cancel","href":"/api-reference/billing/withdraw-a-service-cancellation"},{"title":"List automatic payments","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/subscriptions","href":"/api-reference/billing/list-automatic-payments"},{"title":"Cancel an automatic payment","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /billing/subscriptions/{subscription}/cancel","href":"/api-reference/billing/cancel-an-automatic-payment"},{"title":"Get the display currency","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/currency","href":"/api-reference/billing/get-the-display-currency"},{"title":"Get account credit","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/credit","href":"/api-reference/billing/get-account-credit"},{"title":"List top-ups","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/deposits","href":"/api-reference/billing/list-top-ups"},{"title":"Add funds to the account","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /billing/deposits","href":"/api-reference/billing/add-funds-to-the-account"},{"title":"Cancel a top-up","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /billing/deposits/{fundDeposit}/cancel","href":"/api-reference/billing/cancel-a-top-up"},{"title":"List saved PayPal accounts","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/paypal-accounts","href":"/api-reference/billing/list-saved-paypal-accounts"},{"title":"Remove a saved PayPal account","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /billing/paypal-accounts/{paypalAccount}","href":"/api-reference/billing/remove-a-saved-paypal-account"},{"title":"List saved payment methods","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/payment-methods","href":"/api-reference/billing/list-saved-payment-methods"},{"title":"Delete a saved payment method","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /billing/payment-methods/{payMethod}","href":"/api-reference/billing/delete-a-saved-payment-method"}]},{"group":"Checkout","pages":[{"title":"List payment options","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /checkout/options","href":"/api-reference/checkout/list-payment-options"},{"title":"Get a checkout","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /checkout/{uuid}","href":"/api-reference/checkout/get-a-checkout"},{"title":"Start a checkout payment","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /checkout/{uuid}/start","href":"/api-reference/checkout/start-a-checkout-payment"},{"title":"Cancel a checkout","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /checkout/{uuid}/cancel","href":"/api-reference/checkout/cancel-a-checkout"}]},{"group":"DDoS protection","pages":[{"title":"Get a server's DDoS protection","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/ddos-protection","href":"/api-reference/ddos-protection/get-a-servers-ddos-protection"},{"title":"List DDoS filtering presets","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/ddos-protection/presets","href":"/api-reference/ddos-protection/list-ddos-filtering-presets"},{"title":"List DDoS filtering presets for an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/ddos-protection/ip/{ip}/presets","href":"/api-reference/ddos-protection/list-ddos-filtering-presets-for-an-ip-address"},{"title":"Get DDoS filtering settings for an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/ddos-protection/ip/{ip}/settings","href":"/api-reference/ddos-protection/get-ddos-filtering-settings-for-an-ip-address"},{"title":"Update DDoS filtering settings for an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/ddos-protection/ip/{ip}/settings","href":"/api-reference/ddos-protection/update-ddos-filtering-settings-for-an-ip-address"},{"title":"List DDoS filtering rules for an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/ddos-protection/ip/{ip}/profiles","href":"/api-reference/ddos-protection/list-ddos-filtering-rules-for-an-ip-address"},{"title":"Add a DDoS filtering rule to an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/ddos-protection/ip/{ip}/profiles","href":"/api-reference/ddos-protection/add-a-ddos-filtering-rule-to-an-ip-address"},{"title":"Delete a DDoS filtering rule from an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /servers/{server}/ddos-protection/ip/{ip}/profiles/{profileId}","href":"/api-reference/ddos-protection/delete-a-ddos-filtering-rule-from-an-ip-address"},{"title":"List DDoS attacks on an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/ddos-protection/ip/{ip}/attacks","href":"/api-reference/ddos-protection/list-ddos-attacks-on-an-ip-address"},{"title":"Reset DDoS filtering for an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/ddos-protection/ip/{ip}/reset","href":"/api-reference/ddos-protection/reset-ddos-filtering-for-an-ip-address"}]},{"group":"Firewall groups","pages":[{"title":"List firewall groups","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /firewall-groups","href":"/api-reference/firewall-groups/list-firewall-groups"},{"title":"Create a firewall group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /firewall-groups","href":"/api-reference/firewall-groups/create-a-firewall-group"},{"title":"Get a firewall group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /firewall-groups/{firewallGroup}","href":"/api-reference/firewall-groups/get-a-firewall-group"},{"title":"Delete a firewall group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /firewall-groups/{firewallGroup}","href":"/api-reference/firewall-groups/delete-a-firewall-group"},{"title":"Rename a firewall group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /firewall-groups/{firewallGroup}","href":"/api-reference/firewall-groups/rename-a-firewall-group"},{"title":"Set a firewall group's servers","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /firewall-groups/{firewallGroup}/servers","href":"/api-reference/firewall-groups/set-a-firewall-groups-servers"},{"title":"Reorder firewall rules","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /firewall-groups/{firewallGroup}/rules/reorder","href":"/api-reference/firewall-groups/reorder-firewall-rules"},{"title":"Add a firewall rule","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /firewall-groups/{firewallGroup}/rules","href":"/api-reference/firewall-groups/add-a-firewall-rule"},{"title":"Delete a firewall rule","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /firewall-groups/{firewallGroup}/rules/{rule}","href":"/api-reference/firewall-groups/delete-a-firewall-rule"},{"title":"Update a firewall rule","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /firewall-groups/{firewallGroup}/rules/{rule}","href":"/api-reference/firewall-groups/update-a-firewall-rule"},{"title":"List firewall groups for a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/firewall-groups","href":"/api-reference/firewall-groups/list-firewall-groups-for-a-server"},{"title":"Create a firewall group for a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/firewall-groups","href":"/api-reference/firewall-groups/create-a-firewall-group-for-a-server"},{"title":"Reorder a server's firewall groups","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/firewall-groups/reorder","href":"/api-reference/firewall-groups/reorder-a-servers-firewall-groups"},{"title":"Apply a firewall group to a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/firewall-groups/{firewallGroup}/attach","href":"/api-reference/firewall-groups/apply-a-firewall-group-to-a-server"},{"title":"Remove a firewall group from a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/firewall-groups/{firewallGroup}/detach","href":"/api-reference/firewall-groups/remove-a-firewall-group-from-a-server"}]},{"group":"IP addresses","pages":[{"title":"List floating IPs","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /floating-ips","href":"/api-reference/ip-addresses/list-floating-ips"},{"title":"Buy a floating IP","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips","href":"/api-reference/ip-addresses/buy-a-floating-ip"},{"title":"List locations for floating IPs","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /floating-ips/locations","href":"/api-reference/ip-addresses/list-locations-for-floating-ips"},{"title":"Get a quote for a floating IP","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/quote","href":"/api-reference/ip-addresses/get-a-quote-for-a-floating-ip"},{"title":"List servers a floating IP can attach to","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /floating-ips/{floatingIp}/servers","href":"/api-reference/ip-addresses/list-servers-a-floating-ip-can-attach-to"},{"title":"Attach a floating IP to a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/{floatingIp}/attach","href":"/api-reference/ip-addresses/attach-a-floating-ip-to-a-server"},{"title":"Detach a floating IP from a server","description":"### Overview\n\nDetaches the address from its server. The address remains reserved for you and billing continues. Attach it again to route traffic to a server.\n\n### Permissions\n\nRequires the `network.update` (Change networking) permission for the selected team. Resources outside that team return 404.","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/{floatingIp}/detach","href":"/api-reference/ip-addresses/detach-a-floating-ip-from-a-server"},{"title":"Swap a floating IP with the primary address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/{floatingIp}/swap-primary","href":"/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address"},{"title":"Cancel an unpaid floating IP order","description":"### Overview\n\nWithdraws an unpaid address order, releases the reserved address and closes its invoice without charging the account. Use the cancellation endpoint for an active address.\n\n### Permissions\n\nRequires the `billing.purchase` (Make purchases) permission for the selected team. Resources outside that team return 404.","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/{floatingIp}/cancel-checkout","href":"/api-reference/ip-addresses/cancel-an-unpaid-floating-ip-order"},{"title":"Cancel a floating IP","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/{floatingIp}/cancel","href":"/api-reference/ip-addresses/cancel-a-floating-ip"},{"title":"Withdraw a floating IP cancellation","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/{floatingIp}/withdraw-cancellation","href":"/api-reference/ip-addresses/withdraw-a-floating-ip-cancellation"},{"title":"Release a floating IP","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /floating-ips/{floatingIp}","href":"/api-reference/ip-addresses/release-a-floating-ip"},{"title":"Set a server's primary IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/addresses/{addressId}/primary","href":"/api-reference/ip-addresses/set-a-servers-primary-ip-address"}]},{"group":"IP groups","pages":[{"title":"List IP groups","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /ip-groups","href":"/api-reference/ip-groups/list-ip-groups"},{"title":"Create an IP group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /ip-groups","href":"/api-reference/ip-groups/create-an-ip-group"},{"title":"Get an IP group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /ip-groups/{firewallIpGroup}","href":"/api-reference/ip-groups/get-an-ip-group"},{"title":"Delete an IP group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /ip-groups/{firewallIpGroup}","href":"/api-reference/ip-groups/delete-an-ip-group"},{"title":"Rename an IP group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /ip-groups/{firewallIpGroup}","href":"/api-reference/ip-groups/rename-an-ip-group"},{"title":"Add addresses to an IP group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /ip-groups/{firewallIpGroup}/entries","href":"/api-reference/ip-groups/add-addresses-to-an-ip-group"},{"title":"Remove an address from an IP group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /ip-groups/{firewallIpGroup}/entries/{entry}","href":"/api-reference/ip-groups/remove-an-address-from-an-ip-group"},{"title":"Update an address in an IP group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /ip-groups/{firewallIpGroup}/entries/{entry}","href":"/api-reference/ip-groups/update-an-address-in-an-ip-group"}]},{"group":"ISO images","pages":[{"title":"List ISOs","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /isos","href":"/api-reference/iso-images/list-isos"},{"title":"Download an ISO","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /isos","href":"/api-reference/iso-images/download-an-iso"},{"title":"Check an ISO download link","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /isos/query-link","href":"/api-reference/iso-images/check-an-iso-download-link"},{"title":"Delete an ISO","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /isos/{iso}","href":"/api-reference/iso-images/delete-an-iso"},{"title":"Rename an ISO","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /isos/{iso}","href":"/api-reference/iso-images/rename-an-iso"},{"title":"List ISOs available to a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/isos","href":"/api-reference/iso-images/list-isos-available-to-a-server"}]},{"group":"Invoices","pages":[{"title":"List invoices","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /invoices","href":"/api-reference/invoices/list-invoices"},{"title":"Get an invoice","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /invoices/{invoice}","href":"/api-reference/invoices/get-an-invoice"},{"title":"Download an invoice PDF","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /invoices/{invoice}/pdf","href":"/api-reference/invoices/download-an-invoice-pdf"},{"title":"Create a checkout for an invoice","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /invoices/{invoice}/pay","href":"/api-reference/invoices/create-a-checkout-for-an-invoice"},{"title":"List invoices that can be paid together","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /invoices/bulk-payment","href":"/api-reference/invoices/list-invoices-that-can-be-paid-together"},{"title":"Create a checkout for several invoices","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /invoices/bulk-payment","href":"/api-reference/invoices/create-a-checkout-for-several-invoices"}]},{"group":"Private networks","pages":[{"title":"List private networks","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /private-networks","href":"/api-reference/private-networks/list-private-networks"},{"title":"Create a private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /private-networks","href":"/api-reference/private-networks/create-a-private-network"},{"title":"List locations for private networks","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /private-networks/locations","href":"/api-reference/private-networks/list-locations-for-private-networks"},{"title":"Get a private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /private-networks/{privateNetwork}","href":"/api-reference/private-networks/get-a-private-network"},{"title":"Delete a private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /private-networks/{privateNetwork}","href":"/api-reference/private-networks/delete-a-private-network"},{"title":"Rename a private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /private-networks/{privateNetwork}","href":"/api-reference/private-networks/rename-a-private-network"},{"title":"List servers that can join a private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /private-networks/{privateNetwork}/eligible-servers","href":"/api-reference/private-networks/list-servers-that-can-join-a-private-network"},{"title":"List a server's private networks","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/private-networks","href":"/api-reference/private-networks/list-a-servers-private-networks"},{"title":"Create a private network in a server's location","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/private-networks","href":"/api-reference/private-networks/create-a-private-network-in-a-servers-location"},{"title":"Attach a server to a private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/private-networks/{privateNetwork}/attach","href":"/api-reference/private-networks/attach-a-server-to-a-private-network"},{"title":"Detach a server from a private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/private-networks/{privateNetwork}/detach","href":"/api-reference/private-networks/detach-a-server-from-a-private-network"},{"title":"Delete a server's private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /servers/{server}/private-networks/{privateNetwork}","href":"/api-reference/private-networks/delete-a-servers-private-network"}]},{"group":"Reverse DNS","pages":[{"title":"List a server's reverse DNS addresses","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/rdns","href":"/api-reference/reverse-dns/list-a-servers-reverse-dns-addresses"},{"title":"List reverse DNS records for an address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/rdns/{ipId}","href":"/api-reference/reverse-dns/list-reverse-dns-records-for-an-address"},{"title":"Create a reverse DNS record","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/rdns/{ipId}","href":"/api-reference/reverse-dns/create-a-reverse-dns-record"},{"title":"Delete a reverse DNS record","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /servers/{server}/rdns/{ipId}/{recordId}","href":"/api-reference/reverse-dns/delete-a-reverse-dns-record"}]},{"group":"SSH keys","pages":[{"title":"List SSH keys","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /ssh-keys","href":"/api-reference/ssh-keys/list-ssh-keys"},{"title":"Add an SSH key","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /ssh-keys","href":"/api-reference/ssh-keys/add-an-ssh-key"},{"title":"Delete an SSH key","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /ssh-keys/{sshKey}","href":"/api-reference/ssh-keys/delete-an-ssh-key"},{"title":"Update an SSH key","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /ssh-keys/{sshKey}","href":"/api-reference/ssh-keys/update-an-ssh-key"},{"title":"Delete multiple SSH keys","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /ssh-keys/bulk/delete","href":"/api-reference/ssh-keys/delete-multiple-ssh-keys"},{"title":"List SSH keys for a reinstall","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/settings/ssh-keys","href":"/api-reference/ssh-keys/list-ssh-keys-for-a-reinstall"}]},{"group":"Server firewall","pages":[{"title":"Get a server's default firewall policy","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/firewall/policy","href":"/api-reference/server-firewall/get-a-servers-default-firewall-policy"},{"title":"List externally managed firewall rules","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/firewall-groups/unmanaged-rules","href":"/api-reference/server-firewall/list-externally-managed-firewall-rules"}]},{"group":"Server settings","pages":[{"title":"Rename a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/settings/rename","href":"/api-reference/server-settings/rename-a-server"},{"title":"Change a server's icon","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/settings/icon","href":"/api-reference/server-settings/change-a-servers-icon"},{"title":"List templates for a reinstall","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/settings/template-groups","href":"/api-reference/server-settings/list-templates-for-a-reinstall"},{"title":"Reinstall a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/settings/reinstall","href":"/api-reference/server-settings/reinstall-a-server"},{"title":"Get the boot order","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/settings/hardware/boot-order","href":"/api-reference/server-settings/get-the-boot-order"},{"title":"Set the boot order","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/settings/hardware/boot-order","href":"/api-reference/server-settings/set-the-boot-order"},{"title":"Get hardware settings","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/settings/hardware/options","href":"/api-reference/server-settings/get-hardware-settings"},{"title":"Update hardware settings","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/settings/hardware/options","href":"/api-reference/server-settings/update-hardware-settings"},{"title":"Change the boot firmware","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/settings/hardware/bios","href":"/api-reference/server-settings/change-the-boot-firmware"},{"title":"Mount an ISO","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/settings/hardware/isos/{iso}/mount","href":"/api-reference/server-settings/mount-an-iso"},{"title":"Unmount an ISO","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/settings/hardware/isos/{iso}/unmount","href":"/api-reference/server-settings/unmount-an-iso"},{"title":"Get DNS resolvers","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/settings/network","href":"/api-reference/server-settings/get-dns-resolvers"},{"title":"Set DNS resolvers","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/settings/network","href":"/api-reference/server-settings/set-dns-resolvers"},{"title":"Get a server's SSH keys","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/settings/auth","href":"/api-reference/server-settings/get-a-servers-ssh-keys"},{"title":"Change a server's password or SSH keys","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/settings/auth","href":"/api-reference/server-settings/change-a-servers-password-or-ssh-keys"}]},{"group":"Server upgrades","pages":[{"title":"List upgrade plans for a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/upgrades/catalog","href":"/api-reference/server-upgrades/list-upgrade-plans-for-a-server"},{"title":"Get the current plan change","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/upgrades/current","href":"/api-reference/server-upgrades/get-the-current-plan-change"},{"title":"Get a quote for a plan change","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/upgrades/quote","href":"/api-reference/server-upgrades/get-a-quote-for-a-plan-change"},{"title":"Buy a plan change","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/upgrades","href":"/api-reference/server-upgrades/buy-a-plan-change"},{"title":"Cancel a plan change","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/upgrades/{upgrade}/cancel","href":"/api-reference/server-upgrades/cancel-a-plan-change"}]},{"group":"Servers","pages":[{"title":"List servers","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers","href":"/api-reference/servers/list-servers"},{"title":"Order servers","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers","href":"/api-reference/servers/order-servers"},{"title":"List server plans","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/catalog","href":"/api-reference/servers/list-server-plans"},{"title":"List templates","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/templates","href":"/api-reference/servers/list-templates"},{"title":"Get a quote for a server order","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/quote","href":"/api-reference/servers/get-a-quote-for-a-server-order"},{"title":"List outstanding server orders","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/orders","href":"/api-reference/servers/list-outstanding-server-orders"},{"title":"Cancel a server order","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/orders/{serverOrder}/cancel","href":"/api-reference/servers/cancel-a-server-order"},{"title":"Get power states for multiple servers","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/power-states","href":"/api-reference/servers/get-power-states-for-multiple-servers"},{"title":"Get a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}","href":"/api-reference/servers/get-a-server"},{"title":"Get a server's billing service","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/billing","href":"/api-reference/servers/get-a-servers-billing-service"},{"title":"Get a server's unpaid invoice","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/billing/overdue-invoice","href":"/api-reference/servers/get-a-servers-unpaid-invoice"},{"title":"Get a server's live configuration","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/details","href":"/api-reference/servers/get-a-servers-live-configuration"},{"title":"Dismiss an installation failure notice","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /servers/{server}/install-failure","href":"/api-reference/servers/dismiss-an-installation-failure-notice"},{"title":"Get all usage graphs","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/metrics","href":"/api-reference/servers/get-all-usage-graphs"},{"title":"Get one usage graph","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/metrics-data/{type}/{period}","href":"/api-reference/servers/get-one-usage-graph"},{"title":"List a server's audit log","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/audit-log","href":"/api-reference/servers/list-a-servers-audit-log"},{"title":"Get a server's live status","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/state","href":"/api-reference/servers/get-a-servers-live-status"},{"title":"Send a power command","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /servers/{server}/state","href":"/api-reference/servers/send-a-power-command"},{"title":"Open a console session","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/create-console-session","href":"/api-reference/servers/open-a-console-session"}]},{"group":"Setup scripts","pages":[{"title":"List setup scripts","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /user-scripts","href":"/api-reference/setup-scripts/list-setup-scripts"},{"title":"Add a setup script","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /user-scripts","href":"/api-reference/setup-scripts/add-a-setup-script"},{"title":"Delete a setup script","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /user-scripts/{userScript}","href":"/api-reference/setup-scripts/delete-a-setup-script"},{"title":"Update a setup script","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /user-scripts/{userScript}","href":"/api-reference/setup-scripts/update-a-setup-script"},{"title":"List setup scripts for a reinstall","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/settings/user-scripts","href":"/api-reference/setup-scripts/list-setup-scripts-for-a-reinstall"}]},{"group":"Snapshots","pages":[{"title":"List the team's snapshots","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /snapshots","href":"/api-reference/snapshots/list-the-teams-snapshots"},{"title":"List snapshot storages","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /snapshots/storages","href":"/api-reference/snapshots/list-snapshot-storages"},{"title":"Buy a snapshot storage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /snapshots/storages","href":"/api-reference/snapshots/buy-a-snapshot-storage"},{"title":"Get a snapshot storage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /snapshots/storages/{snapshotStorage}","href":"/api-reference/snapshots/get-a-snapshot-storage"},{"title":"Rename a snapshot storage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /snapshots/storages/{snapshotStorage}","href":"/api-reference/snapshots/rename-a-snapshot-storage"},{"title":"Get a quote for resizing a snapshot storage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /snapshots/storages/{snapshotStorage}/resize/quote","href":"/api-reference/snapshots/get-a-quote-for-resizing-a-snapshot-storage"},{"title":"Resize a snapshot storage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /snapshots/storages/{snapshotStorage}/resize","href":"/api-reference/snapshots/resize-a-snapshot-storage"},{"title":"Cancel a snapshot storage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /snapshots/storages/{snapshotStorage}/cancel","href":"/api-reference/snapshots/cancel-a-snapshot-storage"},{"title":"Withdraw a snapshot storage cancellation","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /snapshots/storages/{snapshotStorage}/withdraw-cancellation","href":"/api-reference/snapshots/withdraw-a-snapshot-storage-cancellation"},{"title":"Move a snapshot to another storage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /snapshots/{snapshot}/move","href":"/api-reference/snapshots/move-a-snapshot-to-another-storage"},{"title":"Delete a snapshot by ID","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /snapshots/{snapshot}","href":"/api-reference/snapshots/delete-a-snapshot-by-id"},{"title":"List snapshots available to a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/snapshots","href":"/api-reference/snapshots/list-snapshots-available-to-a-server"},{"title":"Take a snapshot","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/snapshots","href":"/api-reference/snapshots/take-a-snapshot"},{"title":"Restore a snapshot","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/snapshots/{snapshot}/restore","href":"/api-reference/snapshots/restore-a-snapshot"},{"title":"Delete a snapshot","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /servers/{server}/snapshots/{snapshot}","href":"/api-reference/snapshots/delete-a-snapshot"}]},{"group":"Support tickets","pages":[{"title":"List support tickets","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /tickets","href":"/api-reference/support-tickets/list-support-tickets"},{"title":"Open a support ticket","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /tickets","href":"/api-reference/support-tickets/open-a-support-ticket"},{"title":"List ticket departments","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /tickets/departments","href":"/api-reference/support-tickets/list-ticket-departments"},{"title":"Get a ticket","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /tickets/{ticket}","href":"/api-reference/support-tickets/get-a-ticket"},{"title":"Download a ticket attachment","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /tickets/{ticket}/messages/{message}/attachments/{index}","href":"/api-reference/support-tickets/download-a-ticket-attachment"},{"title":"Close a ticket","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /tickets/{ticket}/close","href":"/api-reference/support-tickets/close-a-ticket"},{"title":"Reply to a ticket","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /tickets/{ticket}/reply","href":"/api-reference/support-tickets/reply-to-a-ticket"}]},{"group":"Team activity","pages":[{"title":"List a team's audit log","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /teams/{team}/audit-logs","href":"/api-reference/team-activity/list-a-teams-audit-log"}]},{"group":"Team members","pages":[{"title":"List a team's members","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /teams/{team}/members","href":"/api-reference/team-members/list-a-teams-members"},{"title":"Invite a team member","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /teams/{team}/members","href":"/api-reference/team-members/invite-a-team-member"},{"title":"Remove a team member","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /teams/{team}/members/{member}","href":"/api-reference/team-members/remove-a-team-member"},{"title":"Change a member's role","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /teams/{team}/members/{member}","href":"/api-reference/team-members/change-a-members-role"},{"title":"Withdraw an invitation","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /teams/{team}/invitations/{invitation}","href":"/api-reference/team-members/withdraw-an-invitation"}]},{"group":"Team roles","pages":[{"title":"List role permissions","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /teams/permissions","href":"/api-reference/team-roles/list-role-permissions"},{"title":"List a team's roles","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /teams/{team}/roles","href":"/api-reference/team-roles/list-a-teams-roles"},{"title":"Create a role","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /teams/{team}/roles","href":"/api-reference/team-roles/create-a-role"},{"title":"Get a role","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /teams/{team}/roles/{role}","href":"/api-reference/team-roles/get-a-role"},{"title":"Delete a role","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /teams/{team}/roles/{role}","href":"/api-reference/team-roles/delete-a-role"},{"title":"Update a role","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /teams/{team}/roles/{role}","href":"/api-reference/team-roles/update-a-role"}]},{"group":"Teams","pages":[{"title":"List teams","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /teams","href":"/api-reference/teams/list-teams"},{"title":"Create a team","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /teams","href":"/api-reference/teams/create-a-team"},{"title":"Get the current team","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /teams/context","href":"/api-reference/teams/get-the-current-team"},{"title":"Delete a team","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /teams/{team}","href":"/api-reference/teams/delete-a-team"},{"title":"Rename a team","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /teams/{team}","href":"/api-reference/teams/rename-a-team"},{"title":"Set the default team","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /teams/{team}/default","href":"/api-reference/teams/set-the-default-team"}]},{"group":"Transfers","pages":[{"title":"Transfer resources to another team","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /transfers","href":"/api-reference/transfers/transfer-resources-to-another-team"}]}]}]}]},"basePath":"","title":"Swap a floating IP with the primary address - Advin Servers","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}