Updates the delete protection status for an application group.
Try it now
Test
RAM authorization
Request syntax
PUT /v4/openapi/app-groups/{appGroupIdentity}/delete-protection HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appGroupIdentity |
string |
No |
The name or ID of the application group. |
my_app_group_name |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
{ "deleteProtection": "on" } |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| requestId |
string |
The request ID. |
80326EFE-485F-46E7-B291-5A1DD08D2198 |
| result |
object |
The result. |
|
| instanceId |
string |
The instance ID. |
ops-cn-m7r1ywo2h1b |
Examples
Success response
JSON format
{
"requestId": "80326EFE-485F-46E7-B291-5A1DD08D2198",
"result": {
"instanceId": "ops-cn-m7r1ywo2h1b"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.