1
0
forked from docs/doc-exports
doc-exports/docs/dds/api-ref/dds_api_0022.html
Ru, Li Yi a6e39ff5b3 DDS_API
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com>
Co-authored-by: Ru, Li Yi <liyiru7@huawei.com>
Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
2024-05-27 08:52:30 +00:00

5.6 KiB

Deleting a DB Instance

Function

This API is used to delete a DB instance.

URI

  • URI format

    DELETE https://{Endpoint}/v3/{project_id}/instances/{instance_id}

  • Parameter description
    Table 1 Parameter description

    Name

    Mandatory

    Description

    project_id

    Yes

    Specifies the project ID of a tenant in a region.

    instance_id

    Yes

    Specifies the instance ID, which can be obtained by calling the API for querying instances. If you do not have an instance, you can call the API used for creating an instance.

Responses

  • Parameter description
    Table 2 Parameter description

    Name

    Type

    Description

    job_id

    String

    Indicates the workflow ID.

  • Response example
    {
          "job_id": "252f11f1-2912-4c06-be55-1999bde659c5"
    }

Status Code

Status Code:202.

For more information, see Status Code.

Error Code

For more information, see Error Code.