API How-Tos

This section provides detailed guides and examples on how to interact with the MariaDB REST API. Each guide covers specific tasks such as creating, managing, and deleting MariaDB clusters, as well as handling backups and connecting from Kubernetes.

Endpoints

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 endpoints for various locations:

  • Berlin, Germany: https://mariadb.de-txl.ionos.com/clusters.

  • Frankfurt, Germany: https://mariadb.de-fra.ionos.com/clusters

  • Logroño, Spain: https://mariadb.es-vit.ionos.com/clusters

  • London, United Kingdom: https://mariadb.gb-lhr.ionos.com/clusters

  • Worcester, United Kingdom: https://mariadb.gb-bhx.ionos.com/clusters

  • Newark, United States: https://mariadb.us-ewr.ionos.com/clusters

  • Las Vegas, United States: https://mariadb.us-las.ionos.com/clusters

  • Lenexa, United States: https://mariadb.us-mci.ionos.com/clusters

  • Paris, France: https://mariadb.fr-par.ionos.com/clusters

Request parameter headers

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

Header
Required
Type
Description

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

Was this helpful?