Deletes a data source sharing rule by rule ID.
Operation description
-
This operation is available for all DataWorks editions.
-
To delete a sharing rule of a data source from Workspace A to Workspace B, you must have the data source sharing permissions in Workspace A or Workspace B. You must have one of the following roles in DataWorks:
-
Tenant Owner, Tenant Administrator, Workspace Administrator, and Workspace 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 sharing rule ID. |
22127 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The request ID. You can locate logs and troubleshoot issues based on the ID. |
64B-587A-8CED-969E1973887FXXX-TT |
| Success |
boolean |
Indicates whether the sharing rule was deleted. Valid values: -true: The sharing rule was deleted. -false: The sharing rule failed to be deleted. |
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.