- API v2 Introduction
- 3rd Party API Integration
- Servers
- Manage
- Health & Monitoring
- Database
- Database Users
- System Users
- SSH Keys
- Cron Job
- Supervisor
- Services
- Security - Firewall
- Security - Fail2Ban
- SSH Configuration
- Server Activity Logs
- Settings - PHP
- Deployment Keys
- Settings - Auto Security Update
- Web Applications
- Static Data
Clean disk
POST
/v2/servers/{{serverId}}/health/diskcleaner
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
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/v2/servers/{{serverId}}/health/diskcleaner'
Responses
🟢200Success
application/json
Body
totalMemory
number
required
availableMemory
number
required
usedMemory
number
required
totalDiskSpace
number
required
availableDiskSpace
number
required
usedDiskSpace
number
required
loadAverage
number
required
updated_at
string
required
Example
{
"message": "disk cleanup process will start"
}
Modified at 2024-09-04 07:11:34