Skip to main content

Deregister a DataSource

Deregister the specified DataSource.

POST /api/open/v1/datasource/deleteDataSource

Requires “Query Settings Manage” and management permission on the target DataSource.

Send the Idempotency-Key header with 1 to 128 visible ASCII characters.

Request parameters​

ParameterTypeRequiredDescription
dataSourceIdIntegerYesDataSource ID.

Response fields​

Fields in dataTypeDescription
dataSourceIdIntegerDataSource ID.
lifeCycleStateStringDELETED (deregistered).

Request example​

{
"dataSourceId": 42
}

Response example​

{
"requestId": "566952c3-4e21-5fc5-b5eb-aaab9e7c7117",
"code": "OK",
"msg": "Request succeeded.",
"data": {
"dataSourceId": 42,
"lifeCycleState": "DELETED"
}
}