Deletes the specified user from the specified database instance.
Change user passwords
PUT /{version}/{accountId}/instances/{instanceId}/users
Admin
Changes the user passwords for the specified database instance.
Modify user attributes
PUT /{version}/{accountId}/instances/{instanceId}/users/{name}
Admin
Modifies one or more of the following values for the specified user: name, password, or the host from which the user is allowed to connect to the database.
Flavors
Method
API action
Role
Description
List flavors
GET /{version}/{accountId}/flavors
Admin, Creator, Observer
Lists information for all available flavors.
List flavors by ID
GET /{version}/{accountId}/flavors/{flavorId}
Admin, Creator, Observer
Lists information about the specified flavor.
List flavors for the datastore version
GET /{version}/{accountId}/datastores/{datastoreType}/versions/{versionId}/flavors
Admin, Creator, Observer
Lists flavors for a datastore version.
On-demand backups
📘
Any user who calls the on-demand backup operations for Cloud Databases must have access to Cloud Files.
Method
API action
Role
Description
Create a backup
POST /{version}/{accountId}/backups
Admin, Creator
Creates a new backup for a database instance.
Delete a backup
DELETE /{version}/{accountId}/backups/{backupId}
Admin
Deletes the specified backup.
List backups
GET /{version}/{accountId}/backups
Admin, Creator, Observer
Lists all backups for all database instances.
List backup by ID
GET /{version}/{accountId}/backups/{backupId}
Admin, Creator, Observer
Lists details about the specified backup.
List backups for instance
GET /{version}/{accountId}/instance/{instanceId}/backups
Admin, Creator, Observer
Lists all backups for the specified instance.
Restore a backup
POST /{version}/{accountId}/instances
Admin, Creator
Creates a new database instance from a backup.
Scheduled Backups
📘
Any user who calls on the scheduled backup operations for Cloud Databases must have access to Cloud Files.
Method
API action
Role
Description
Create a scheduled backup
POST /{version}/{accountId}/schedules
Admin, Creator
Creates a schedule for running a backup periodically.
List scheduled backups
GET /{version}/{accountId}/schedules
Admin, Creator, Observer
Lists all scheduled backups for all database instances for an account.
List the schedule for running a backup
GET /{version}/{accountId}/schedules/{scheduleId}
Admin, Creator, Observer
Lists the specified schedule for running a backup.
Note: Adding a new replica node would restart the mha manager service (which monitors the source/replica instances to trigger failover) and the haproxy service on the load balancer nodes.
POST /{version}/{accountId}/ha/{haId}/action
Admin, Creator
Adds a replica node to the HA group specified by {ha_id}.
Configurations
Method
API action
Role
Description
List configurations
GET /{version}/{accountId}/configurations
Admin, Creator, Observer
Lists all defined configuration groups for the tenant.
Create a configuration
POST /{version}/{accountId}/configurations
Admin, Creator
Creates a new configuration group.
List configuration details
GET / configurations/{configId}
Admin, Creator, Observer
Lists details for the specified configuration group.
Update some configuration parameters
PATCH / configurations/{configId}
Admin, Creator
Updates some of the configuration parameters associated with the specified configuration group.
Replace all configuration parameters
PUT /{version}/{accountId}/configurations/{configId}
Admin, Creator
Replaces all the configuration parameters associated with the specified configuration group.