Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.

Setup

  1. Get an IONOS Cloud account: Sign up at https://cloud.ionos.com - new accounts typically include trial credit. Log into the Data Center Designer (DCD) at https://dcd.ionos.com.
  2. Generate a bearer token: In the DCD open Management > Token Manager and generate a token, or call GET https://api.ionos.com/auth/v1/tokens/generate with Basic auth (Base64 of username:password). Tokens are required if 2FA is enabled.
  3. Set the environment variable: Copy the token into your .env as IONOS_TOKEN.
  4. Verify access: Run List Data Centers (depth=1), then List Servers for one of the returned data center IDs.
  • All Cloud API v6 paths live under https://api.ionos.com/cloudapi/v6
  • The depth query parameter (0-10) controls how deeply nested resources are expanded; depth=0 returns only IDs
  • Stopping a server is a forceful power-off; shut down the OS first for clean stops
  • Write requests return 202 Accepted and complete asynchronously - check the server’s vmState afterwards
Provider API reference: https://api.ionos.com/docs/cloud/v6/

Tools

Example prompts

  • List my IONOS Cloud virtual data centers and the servers inside each, with their power state.
  • Find the IONOS server I name and stop it after confirming with me.