Skip to main content

Delete Data Source

Use this API to delete a specified data source from NineData. Before deletion, make sure the data source is no longer required by tasks, permissions, or other configurations.

Request URL: /openapi/v1/datasource/delete

Request Method: POST

Request Parameters

ParameterTypeRequiredDescriptionExample
datasourceIdStringYesData source ID. Can be queried by calling the List Data Sources interface.ds-d92lj22cb03k

Response Parameters

ParameterTypeDescriptionExample
successBoolWhether the interface call was successful. Return values: true, false.true
requestIdStringRequest ID.Mi6y0FCN-BHEEaHAnCFFp9DFdAAk0OUZ
dataArrayData source deletion details, including whether the deletion was successful (success) information. Return values: true, false.{
"success": true
}

Successful Invocation Example

{
"success": true,
"requestId": "Pe3q7HNK-iollzEMnjnpz4LFdpji1OKO",
"data": {
"success": true
}
}

Result

A successful response returns true in data.success, which means the deletion request was accepted. Query the data source list afterward if your automation needs to confirm removal.