DeleteDataSourceSharedRule
Deletes a data source sharing rule by its ID.
Operation description
DataWorks Basic Edition or a later edition is required.
To delete a sharing rule that shares a data source from Workspace A to Workspace B, the operator must have the data source sharing permission in Workspace A or Workspace B. The operator must be assigned at least one of the following roles in the DataWorks workspace:
Tenant owner, tenant administrator, workspace administrator, or project owner
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:DeleteDataSourceSharedRule |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
The ID of the data source sharing rule. You can call the ListDataSourceSharedRules operation to query existing sharing rules and their IDs. |
22127 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response result. |
||
| RequestId |
string |
The request ID. You can use the ID to locate logs and troubleshoot issues. |
64B-587A-8CED-969E1973887F**** |
| Success |
boolean |
Indicates whether the data source sharing rule was deleted. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "64B-587A-8CED-969E1973887F****",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.