Modifies the status of an application whitelist policy.
Operation description
Application whitelist is a China-site public preview feature that no longer accepts new applications. Users who have already applied for or are using this feature can call this operation as usual.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:UpdateWhiteListStrategyStatus |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the request. You do not need to specify this parameter. The system automatically obtains this value. |
219.143.XX.XX |
| Lang |
string |
No |
The language type for the request and response messages. Default value: zh. Valid values:
|
zh |
| StrategyIds |
string |
Yes |
The policy ID. Note
Call the DescribeWhiteListStrategyList operation to obtain this parameter. |
8516 |
| Status |
integer |
Yes |
The policy status. Valid values:
Note
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
379a9b8f-107b-4630-9e95-2299a1ea**** |
Examples
Success response
JSON format
{
"RequestId": "379a9b8f-107b-4630-9e95-2299a1ea****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | -101 | %s %s | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.