API How-Tos

A list of prerequisites to assure success with MariaDB creation.

Learn to create a MariaDB cluster.

Learn to verify the status of a MariaDB cluster.

Learn how to connect to MariaDB from your managed Kubernetes cluster.

Learn how to list the MariaDB clusters.

Learn how to fetch a specific MariaDB cluster.

Learn how to delete a specific MariaDB cluster.

Endpoint

A regional endpoint is necessary to interact with the MariaDB REST API endpoints. For more information, see the API specification file.

IONOS supports the following endpoint for Berlin, Germany: https://mariadb.de-txl.ionos.com/clusters.

Info: Currently, MariaDB for IONOS DBaaS is only available in Berlin.

Request parameter headers

To make authenticated requests to the API, the following fields are mandatory in the request headers:

HeaderRequiredTypeDescription

Authorization

yes

string

HTTP Basic authorization. A base64 encoded string of a username and password separated by a colon. username@domain.tld:password

X-Contract-Number

no

integer

Users with more than one contract may apply this header to indicate the applicable contract.

Content-Type

yes

string

Set this to application/json.

Examples

The documentation contains curl examples, as the tool is available on Windows 10, Linux, and macOS. You can also refer to the following blog posts on the IONOS website that describe how to execute curl in Linux and Windows systems if you encounter any problems.

Last updated