DeleteDataSource
Deletes a specified data source based on the data source ID.
Operation description
You must purchase DataWorks Basic Edition or a higher edition to use this operation.
You must have at least one of the following roles in the DataWorks workspace:
tenant owner, workspace administrator, project owner, or operator.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:DeleteDataSource |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
The ID of the data source to delete. Call the ListDataSources operation and obtain the data source ID of the corresponding environment from |
1234 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. You can use the ID to locate logs and troubleshoot issues. |
B56432E0-2112-5C97-88D0-AA0AE5**** |
| Success |
boolean |
Indicates whether the call was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "B56432E0-2112-5C97-88D0-AA0AE5****",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.