SnapshotsApi
SnapshotsApi
Method
HTTP request
Description
snapshots_delete
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.SnapshotsApi(api_client)
snapshot_id = 'snapshot_id_example' # str | The unique ID of the snapshot.
try:
# Delete snapshots
api_instance.snapshots_delete(snapshot_id)
except ApiException as e:
print('Exception when calling SnapshotsApi.snapshots_delete: %s\n' % e)Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
snapshots_find_by_id
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
snapshots_get
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
snapshots_patch
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
snapshots_put
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
Last updated
