To be able to enjoy the web you need a more recent and safe browser. For more information, check the Internet Explorer updates.
Debido a la incidencia eléctrica nuestro servicio de atención al cliente no puede atenderte con normalidad
 You cannot register this service. Contact Support
Debido a la incidencia eléctrica nuestro servicio de atención al cliente no puede atenderte con normalidad

API dinahosting

All the commands you need
If you have doubts, we help you for free

api.cta__h1

List of commands

List of errors

Librería de archivos

Dinahosting HTTP_Request libary files
Introduce el texto mostrado en la imagen

Dedicated_ForVps_Vps_Update

Generates and returns a ticket for updating a VPS in a dedicated server. The ticket status can be consulted with the command \'Dedicated_ForVps_GetTicketStatus\'.
Please note this command has a delayed execution and it'll return SUCCESS_PENDING code on success and a ticket id (integer) on the data field.
Version: 1.0
Special errors:
AUTH_ERROR_OBJECT User haven't got permission on the VPS.
COMMAND_FAILED Error loading the VPS object.
UNIMPLEMENTED_OBJECT_SERVICE If it's a dedicated but not a dedicated for vps.

Parameters:

  • serverName (string): Server name. The parameter is required.
  • vpsHostname (string): VPS hostname. The parameter is required.
  • alias (string): VPS alias. The parameter is optional.
  • description (string): VPS description. The parameter is optional.
  • vcpusCount (int): Number of vcpus. The parameter is required. Parameter value must be a valid integer. Parameter value must be between values 1 and 4 inclusive.
  • ram (int): RAM (MB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available RAM. The parameter is required. Parameter value must be a valid integer. Parameter value must be greater or equal than 512.
  • diskSpace (int): Disk space (GB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available space. The parameter is required. Parameter value must be a valid integer. Parameter value must be greater or equal than 10.
  • transferLimit (int): Transfer limit (GB). Set empty for unlimited. Use the command 'Dedicated_ForVps_GetServerInfo' to check the avaliable transfer limit. The parameter is optional.

Response data type.

int

Additional Information

El modo de simulación no se aplica plenamente este comando.

Code generator.

Server name.

VPS hostname.

VPS alias.

VPS description.

Number of vcpus.

RAM (MB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available RAM.

Disk space (GB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available space.

Transfer limit (GB). Set empty for unlimited. Use the command 'Dedicated_ForVps_GetServerInfo' to check the avaliable transfer limit.

 
 

Simulator

Los datos de respuesta no son reales.

Server name.

VPS hostname.

VPS alias.

VPS description.

Number of vcpus.

RAM (MB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available RAM.

Disk space (GB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available space.

Transfer limit (GB). Set empty for unlimited. Use the command 'Dedicated_ForVps_GetServerInfo' to check the avaliable transfer limit.