Para poder disfrutar de la web necesitas un navegador más reciente y seguro. Para más información, revisa las actualizaciones de Internet Explorer.
 No se puede dar de alta este servicio. Contacta con Soporte

API dinahosting

Todos los comandos que necesitas
Si tienes dudas, te ayudamos gratis

api.cta__h1

API dinahosting

Todos los comandos que necesitas para implementar tu propia plataforma de venta y gestión de dominios, alojamiento web, VPS... usando tu interfaz, automatizando y planificando acciones sobre uno o varios servicios.

  • API en PDF

    Download Fecha de actualización: 04/12/2025 08:30:37
  • Librería de archivos

    Download Dinahosting HTTP_Request libary files

Documentación de la API

A continuación se muestra la documentación completa de la API de dinahosting y la lista de comandos disponibles. Cada comando incluye una descripción detallada de su funcionamiento, los parámetros que admite y los posibles tipos de respuesta.

Al seleccionar un comando, se mostrará también un generador de peticiones y un simulador de respuesta, que te permitirán probar cómo invocar la API y visualizar la respuesta real que devuelve el servidor.

Lista de comandos

Lista de errores

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.

Tipo de datos de respuesta

int

Información adicional

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

Generador de código

Genera fácilmente el código completo de tu petición en distintos lenguajes.

Nombre del servidor.

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.

 
 

Simulador

Prueba tu petición y obtén al instante una respuesta simulada de ejemplo.

Nombre del servidor.

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.