Delete service authentication rules using the RemoveAuthPolicy interface.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:RemoveAuthPolicy |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PolicyId |
string |
Yes |
Policy ID. |
259 |
| AcceptLanguage |
string |
No |
The language in which the returned results are displayed. Values: zh-CN (default): Chinese, en-US: English |
zh |
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| RequestId |
string |
Request ID. |
9515ACA4-E94D-440D-989E-C379FCED**** |
| Message |
string |
Return message. |
|
| Data |
string |
Data overview. |
true |
| Code |
integer |
Status code. |
500 |
| Success |
boolean |
Request result, with the following values:
|
True |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "9515ACA4-E94D-440D-989E-C379FCED****",
"Message": "",
"Data": "true",
"Code": 500,
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.