This API is used to delete a DB instance. Before calling this API:
DELETE https://{endpoint}/mysql/v3/{project_id}/instances/{instance_id}
DELETE https://gaussdb-mysql.eu-de.otc.t-systems.com/mysql/v3/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in01
Name |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Project ID of a tenant in a region. To obtain this value, see Obtaining a Project ID. |
instance_id |
Yes |
DB instance ID, which is compliant with the UUID format. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. |
X-Language |
No |
String |
Language. |
Content-Type |
Yes |
String |
MIME type of the request body. You are advised to use the default value application/json. For APIs used to upload objects or images, the value can vary depending on the flow type. |
Status code: 200
Parameter |
Type |
Description |
---|---|---|
job_id |
String |
ID of the task for deleting a DB instance. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
Status code: 500
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
DELETE https://gaussdb-mysql.eu-de.otc.t-systems.com/mysql/v3/0483b6b16e954cb88930a360d2c4e663/instances/3d39c18788b54a919bab633874c159dfin01
Status code: 500
Server error.
{ "job_id" : "04efe8e2-9255-44ae-a98b-d87cae411890" }
For details, see Status Codes.
For details, see Error Codes.