This topic describes the DeleteDataSource API provided by OceanBase Migration Service (OMS) Community Edition.
Overview
You can call this operation to delete a data source.
API details
Constraints
This API is applicable to OMS Community Edition V4.2.12-CE and later.
Request path
POST /api/v2?Action=DeleteDataSource
Request parameters
| Parameter | Type | Description |
|---|---|---|
| id | string | The ID of the data source. |
Response parameters
| Parameter | Type | Description |
|---|---|---|
| success | boolean | Indicates whether the call was successful. |
| errorDetail | object | The details of the error. |
| code | string | The error code. |
| message | string | The description of the error. |
| advice | string | The advice. |
| requestId | string | The ID of the request. |
| pageNumber | integer | The page number. This parameter takes effect only when you perform a paginated query. |
| pageSize | integer | The page size. This parameter takes effect only when you perform a paginated query. |
| totalCount | integer | The total number of items. This parameter takes effect only when you perform a paginated query. |
| cost | string | The time consumed by the request, in seconds. |
| data | - | The field is empty. |
Examples
Request example
{
"id": "e_7dh****"
}
Response example
{
"success": true,
"errorDetail": null,
"code": null,
"message": null,
"advice": null,
"requestId": "26c7****",
"pageNumber": null,
"pageSize": null,
"totalCount": null,
"cost": "248 ms",
"data": null
}