TemplatesApi
TemplatesApi
Method
HTTP request
Description
templates_find_by_id
Example
from __future__ import print_function
import time
import ionoscloud
from ionoscloud.rest import ApiException
# Defining the host is optional and defaults to https://api.ionos.com/cloudapi/v6
configuration = ionoscloud.Configuration(
host = 'https://api.ionos.com/cloudapi/v6',
)
# Example of configuring HTTP Basic Authorization
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
with ionoscloud.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = ionoscloud.TemplatesApi(api_client)
template_id = 'template_id_example' # str | The unique template ID.
try:
# Get Cubes Template by ID
api_response = api_instance.templates_find_by_id(template_id)
print(api_response)
except ApiException as e:
print('Exception when calling TemplatesApi.templates_find_by_id: %s\n' % e)Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
templates_get
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
Last updated
