Calls the SetupRecycleBinStatus operation to enable the table recycle bin.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:SetupRecycleBinStatus |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| DrdsInstanceId |
string |
Yes |
The DRDS instance ID. |
drds************ |
| DbName |
string |
Yes |
The database name. |
test |
| StatusAction |
string |
Yes |
The enabling status of the table recycle bin. Valid values:
|
enable |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
boolean |
Indicates whether the table recycle bin is enabled. |
true |
| RequestId |
string |
The request ID. |
A3140FC7-B78B-4D8E-B0C8-926D28****** |
| Success |
boolean |
The result of the request. |
true |
Examples
Success response
JSON format
{
"Data": true,
"RequestId": "A3140FC7-B78B-4D8E-B0C8-926D28******",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.