IONOS Cloud (Infrastructure) icon

IONOS Cloud (Infrastructure)

Manage IONOS Cloud infrastructure resources

Actions140

Server → Attach Volume

AI-generated

Summary

Attach the specified volume to a server in the selected data center by sending its volume ID in the request body. The operation also supports optional request tracking details and response headers in its output.

Inputs

  • Datacenter ID (required) — ID of the data center containing the server.
  • Server ID (required) — ID of the server to attach the volume to.
  • Volume ID (required) — ID of the volume to attach; sent as the request body's id field.
  • Include Request Status — When enabled, include the async request tracking ID and status URL returned by the API.
  • Include Response Headers — When enabled, include response headers and status code, with the response body nested under body.
  • Request Options — Optional batching, SSL certificate validation, HTTP proxy, and request timeout settings.

Output shape

A single response item from the attach-volume request.

The operation is asynchronous. Optional request tracking data may be included when enabled. With response headers enabled, the response body is nested under body alongside headers and statusCode.

Links

Discussion