delete-datahub-datasets
restish dci delete-datahub-datasets
Deletes one or more DataHub datasets and all their associated data.
Requestβ
Content-Type: application/json
Schemaβ
{
"type": "object",
"required": [
"datasets"
],
"properties": {
"datasets": {
"type": "array",
"description": "List of dataset names to delete.",
"items": {
"type": "string"
},
"example": [
"My Custom Dataset",
"Old Dataset"
]
}
}
}
Responsesβ
200 (application/json)β
OK - Datasets deleted successfully.
{
"type": "object",
"properties": {
"message": {
"type": "string",
"example": "Datasets deleted successfully"
}
}
}
400 (application/json)β
Bad Request - The server cannot process the request, often due to a malformed request.
{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}
401 (application/json)β
Unauthorized - Invalid API key.
{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}
403 (application/json)β
Forbidden - The client is not authorized to perform the request.
{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}
500 (application/json)β
Internal Server Error - Something went wrong with the DoiT API server.
{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}
Aliases: delete-datahub-datasets, deletedatahubdatasets