TemplatesApi
Last updated
Last updated
All URIs are relative to https://api.ionos.com/cloudapi/v6
Method | HTTP request | Description |
---|---|---|
Template templates_find_by_id(template_id, depth=depth)
Get Cubes Template by ID
Retrieves the properties of the Cubes template specified by its ID.
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/json
Templates templates_get(depth=depth)
Get Cubes Templates
Retrieves all available templates. Templates provide a pre-defined configuration for Cube servers. >Templates are read-only and cannot be created, modified, or deleted by users.
Basic Authentication, Token Authentication
Content-Type: Not defined
Accept: application/json
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
GET /templates/{templateId}
Get Cubes Template by ID
GET /templates
Get Cubes Templates
template_id
str
The unique template ID.
depth
int
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
[optional] [default to 0]
depth
int
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
[optional] [default to 0]