• Relational Database Service

rds
  1. Help Center
  2. Relational Database Service
  3. API Reference
  4. API v3 (Recommended)
  5. DB Instance Management
  6. Deleting a DB Instance

Deleting a DB Instance

Function

This API is used to delete a DB instance. Currently, instances billed on a yearly/monthly basis cannot be deleted.

URI

  • URI format

    PATH: /{version_id}/{project_id}/instances/{instance_id}

    Method: DELETE

  • Parameter description
    Table 1 Parameter description

    Name

    Mandatory

    Description

    version_id

    Yes

    Specifies the API version. It is case-sensitive and the value is v3.

    project_id

    Yes

    Specifies the project ID of a tenant in a region.

    instance_id

    Yes

    Specifies the DB instance ID compliant with the UUID format.

Request

None

Normal Response

  • Parameter description
    Table 2 Parameter description

    Name

    Type

    Description

    job_id

    String

    Indicates the ID of the instance deletion task.

    Response:
    {
    	"job_id": "dff1d289-4d03-4942-8b9f-463ea07c000d"
    }