Skip to main content

Replace a MySQL Database with another MySQL Database

PATCH /v2/app-installations/{appInstallationId}/database/replace/
v2
PATCH
app-replace-database

Request

  • appInstallationIdstring (uuid)
    required

    The ID of the appinstallation you want the database to be replaced for.

Responses

No response content specified.

Usage examples

$ curl \
--fail \
--location \
-X PATCH \
-d '{"databaseUserIds":{"string":"string"},"newDatabaseId":"f0f86186-0a5a-45b2-aa33-502777496347","oldDatabaseId":"f0f86186-0a5a-45b2-aa33-502777496347"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/app-installations/f0f86186-0a5a-45b2-aa33-502777496347/database/replace