Zum Hauptinhalt springen

Database

The database API allows you to manage your databases, like MySQL and Redis databases.

not deprecated
get
List available MySQL character sets and collations, optionally filtered by a MySQLVersion.
/v2/mysql-charsets
get
Get a MySQLDatabase.
/v2/mysql-databases/{mysqlDatabaseId}
delete
Delete a MySQLDatabase.
/v2/mysql-databases/{mysqlDatabaseId}
patch
Update a MySQLDatabase's default character settings.
/v2/mysql-databases/{mysqlDatabaseId}/default-charset
patch
Update a MySQLDatabase's description.
/v2/mysql-databases/{mysqlDatabaseId}/description
get
List MySQLUsers belonging to a Database.
/v2/mysql-databases/{mysqlDatabaseId}/users
post
Create a MySQLUser.
/v2/mysql-databases/{mysqlDatabaseId}/users
get
Get a MySQLUser.
/v2/mysql-users/{mysqlUserId}
put
Update a MySQLUser.
/v2/mysql-users/{mysqlUserId}
delete
Delete a MySQLUser.
/v2/mysql-users/{mysqlUserId}
post
Disable a MySQLUser.
/v2/mysql-users/{mysqlUserId}/actions/disable
post
Enable a MySQLUser.
/v2/mysql-users/{mysqlUserId}/actions/enable
patch
Update a MySQLUser's password.
/v2/mysql-users/{mysqlUserId}/password
get
Get a MySQLUser's PhpMyAdmin-URL.
/v2/mysql-users/{mysqlUserId}/php-my-admin-url
get
List MySQLVersions.
/v2/mysql-versions
get
List MySQLDatabases belonging to a Project.
/v2/projects/{projectId}/mysql-databases
post
Create a MySQLDatabase with a MySQLUser.
/v2/projects/{projectId}/mysql-databases
get
List RedisDatabases belonging to a Project.
/v2/projects/{projectId}/redis-databases
post
Create a RedisDatabase.
/v2/projects/{projectId}/redis-databases
get
Get a RedisDatabase.
/v2/redis-databases/{redisDatabaseId}
delete
Delete a RedisDatabase.
/v2/redis-databases/{redisDatabaseId}
patch
Update a RedisDatabase's configuration.
/v2/redis-databases/{redisDatabaseId}/configuration
patch
Update a RedisDatabase's description.
/v2/redis-databases/{redisDatabaseId}/description
get
List RedisVersions.
/v2/redis-versions