Skip to main content

Copy a MySQL database with a MySQL user

POST/mysql-databases/{mysqlDatabaseId}/actions/copy/
v2
POST
database-copy-mysql-database

Request

  • mysqlDatabaseIdstring
    required

    ID of the MySQLDatabase to copy.

Responses

application/json

Created

  • idstring (uuid)
    required
  • userIdstring (uuid)
    required

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"description":"string","user":{"accessLevel":"full","externalAccess":true,"password":"string"}}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/mysql-databases/string/actions/copy