- API v3 Introduction
- 3rd Party API Integrations
- DNS Integrations
- Server Integrations
- External Backup Storages
- List 3rd Party API IntegrationsGET
- 3rd Party API Integration ObjectGET
- Delete 3rd Party API IntegrationDELETE
- Servers
- Manage
- Health & Monitoring
- Databases
- Database Users
- System Users
- Deployment Keys
- Services
- Cron Job
- Supervisor
- SSH Keys
- SSH Session
- SSH Config
- Activity Logs
- Security - Firewall
- Security - Fail2Ban
- Settings - PHP
- Settings - Auto Security Update
- Settings - Change IP Address
- Web Applications
- Manage
- Domain Name
- SSL/TLS
- SSL Basic (WebApp SSL)
- SSL Advanced (Domain SSL) For Business/Enterprise
- Check SSL Method (Basic/Advanced) & AutoSSL Status
- Update/Change SSL Method (Basic/Advanced) & AutoSSL Status
- SSL Advanced – Install/Deploy Domain SSL
- SSL Advanced – Domain SSL Object
- SSL Advanced – Update Domain SSL Config
- SSL Advanced – Redeploy Domain SSL (Let’s Encrypt only)
- SSL Advanced – Delete Domain SSL
- Cloning
- Tools
- WordPress - RunCloud Hub
- WordPress - Staging
- WordPress - General Settings
- Activity Logs
- Settings
- Backup
- Atomic Deployment
- Static Data
Change/Update Server IP Address
POST
/servers/{{serverId}}/change-ip
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
accept
string
required
Example:
application/json
Body Params application/json
ipAddress
string
required
Example
{
"ipAddress": "11.0.0.1"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://manage.runcloud.io/api/v3/servers/{{serverId}}/change-ip' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"ipAddress": "11.0.0.1"
}'
Responses
🟢200Success
application/json
Body
message
string
required
script
string
required
Example
{
"message": "Please run the script inside your server as root",
"script": "export DEBIAN_FRONTEND=noninteractive; curl --silent --location https://agency-27032023.runcloud.dev/scripts/changeip/mOTQMgDUXbEMTmqi49msDFm4Sn1720508165cB83zDKrMrIzQo8qA2afQ6Gan30VCNg8eIUjPaEwCU8Y8vtwcbGc2ybGFCpXCT6d/xfcLRe9caXJ6qFmdw8AsduitLkBRSgmmhS98YMhEP2wQF0fAW4aT6Faxag3CNuwFZ8j1EaHHh8GfAoQOtjiWxwbvKYcTGknvVG5DlWEaeMYcn4hsLr11qaY8Av1YCwUD | bash -; export DEBIAN_FRONTEND=newt"
}
Modified at 2024-10-16 08:54:18