Updated on 2024-08-02 GMT+08:00

Deleting a DDM instance

Scenarios

This section describes how to delete a DDM instance by calling an API. For details, see Deleting a DDM Instance.

Procedure

  1. Delete a DDM instance and delete the data stored in the associated RDS instances.

    • API Information

      URI format: DELETE /v1/{project_id}/instances/{instance_id}?delete_rds_data=true

      For details, see Deleting a DDM Instance.

    • Example request

      DELETE: https://{endpoint}/v1/743b4c0428d945316666666666666666/instances/d0b008c1ee95479d8799710d9f3a4097in09?delete_rds_data=true

      Obtain the endpoint from Regions and Endpoints.

      • Example response
        {
            "id":"d0b008c1ee95479d8799710d9f3a4097in09"
        }

  1. Delete a DDM instance, but do not delete the data stored in the associated RDS instances.

    • API Information

      URI format: DELETE /v1/{project_id}/instances/{instance_id}?delete_rds_data=false

      For details, see Deleting a DDM Instance.

    • Example request

      Obtain the endpoint from Regions and Endpoints.

      • Example response
        {
            "id":"d0b008c1ee95479d8799710d9f3a4097in09"
        }