This topic describes the DeleteDataSource API provided by OceanBase Migration Service (OMS).
Purpose
You can call this operation to delete a data source.
Call description
Limitations
This operation is supported in OMS V4.2.2 and later.
Request path
POST /api/v2?Action=DeleteDataSource
Request parameters
| Parameter | Type | Description |
|---|---|---|
| id | string | The ID of the data source. |
Return result
| Parameter | Type | Description |
|---|---|---|
| success | boolean | Indicates whether the call is successful. |
| errorDetail | object | The error details. |
| code | string | The error code. |
| message | string | The error description. |
| advice | string | The suggestions about how to resolve the error. |
| requestId | string | The request ID. |
| pageNumber | integer | The number of the page to return. |
| pageSize | integer | The number of entries to return on each page. |
| totalCount | long | The total number of entries returned. |
| cost | string | The time spent in processing the request, in seconds. |
| data | any | The return result of the request. |
Examples
Sample request
{
"id": "e_4w****"
}
Sample response
{
"success": true,
"errorDetail": null,
"code": null,
"message": null,
"advice": null,
"requestId": "E3D924FB-52****B253-0C1A7EFB778C",
"pageNumber": null,
"pageSize": null,
"totalCount": null,
"cost": "134 ms",
"data": null
}