Ryzehosting
  1. Server
Ryzehosting
  • Server
    • List Servers
      GET
    • List OS
      GET
    • List Hardware
      GET
    • Order KVM
      POST
    • Update PTR
      PUT
    • Renew Server
      POST
    • Cancel Server
      POST
    • Get Config
      GET
    • Stop Server
      POST
    • Start Server
      POST
    • Restart Server
      POST
    • Reinstall Server
      POST
    • Update Password
      PUT
    • Get RRData
      GET
    • Get Status
      GET
    • Server VNC
      GET
  • Account
    • Account Balance
      GET
  1. Server

Renew Server

POST
/api/v1/server/0199f361-ccb4-8242-8ff3-18a51b09486e/renew

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dash.ryzehosting.com/api/v1/server/0199f361-ccb4-8242-8ff3-18a51b09486e/renew' \
--header 'Authorization: Bearer <API-KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "duration": 30
}'
Response Response Example
{
    "response": "Server renewed successfully",
    "state": "success",
    "code": 200,
    "data": {
        "uuid": "0199f361-ccb4-8242-8ff3-18a51b09486e",
        "duration": 30,
        "price": 4.17,
        "new_expire_date": "2025-12-16 20:15:15",
        "previous_expire_date": "2025-11-16 20:15:15"
    }
}
Modified at 2025-10-17 19:11:53
Previous
Update PTR
Next
Cancel Server
Built with