/
Retrieves the API information such as API version.
Query parameters
prettybooleanOptionalDefault:
Controls whether the response is pretty-printed (with indentations and new lines).
true
depthinteger · int32 · max: 10OptionalDefault:
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Header parameters
X-Contract-Numberinteger · int32Optional
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
Responses
200
Successful operation
application/json
default
Any erroneous status code: 400 (parse error), 401 (auth error), 402 (trial access), 403 (insufficient privileges), 404 (not found), 405 (unsupported HTTP method), 415 (unsupported content type, 422 (validation error), 429 (request rate limit exceeded), 500 (server error), or 503 (maintenance).
application/json
get
GET /cloudapi/v6/ HTTP/1.1
Host: api.ionos.com
Accept: */*
{
"href": "https://api.ionos.com/cloudapi/v6/",
"name": "CLOUD API",
"version": "6.0"
}
Was this helpful?