Deleting a DDM instance
Scenarios
This section describes how to delete a DDM instance by calling an API.
Procedure
- Delete a DDM instance and delete the data stored in the associated RDS DB 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" }
- Example response
- API Information
- Delete a DDM instance, but do not delete the data stored in the associated RDS DB 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
DELETE: https://{endpoint}/v1/743b4c0428d945316666666666666666/instances/d0b008c1ee95479d8799710d9f3a4097in09?delete_rds_data=false
Obtain the endpoint from Regions and Endpoints.
DELETE: https://{endpoint}/v1/743b4c0428d945316666666666666666/instances/d0b008c1ee95479d8799710d9f3a4097in09?delete_rds_data=false
- Example response
{ "id":"d0b008c1ee95479d8799710d9f3a4097in09" }
- Example response
- API Information
Last Article: Modifying the Name of a DDM Instance
Next Article: Permissions Policies and Supported Actions
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.