For more examples please check out the tests here.
Available parameters:
Name
Required
Description
datacenter
str
True
The ID or name of the datacenter.
server
str
False
The ID or name of the server.
depth
int
False
The depth used when retrieving the items.
Default: 1
filters
dict
False
Filter that can be used to list only objects which have a certain set of propeties. Filters should be a dict with a key containing keys and value pair in the following format: 'properties.name': 'server_name'
api_url
str
False
The Ionos API base URL.
certificate_fingerprint
str
False
The Ionos API certificate fingerprint.
username
str
False
The Ionos username. Overrides the IONOS_USERNAME environment variable.
password
str
False
The Ionos password. Overrides the IONOS_PASSWORD environment variable.
token
str
False
The Ionos token. Overrides the IONOS_TOKEN environment variable.