API网关 APIG-批量删除ACL策略:响应示例

时间:2024-11-07 17:09:53

响应示例

状态码: 200

OK

{
  "failure" : [ {
    "acl_id" : "7eb619ecf2a24943b099833cd24a01ba",
    "acl_name" : "acl_demo",
    "error_code" : "APIG.3447",
    "error_msg" : "The access control policy has been bound to APIs"
  } ],
  "success_count" : 1
}

状态码: 400

Bad Request

{
  "error_code" : "APIG.2011",
  "error_msg" : "Invalid parameter value: parameter action should be \\\"delete\\\""
}

状态码: 401

Unauthorized

{
  "error_code" : "APIG.1002",
  "error_msg" : "Incorrect token or token resolution failed"
}

状态码: 403

Forbidden

{
  "error_code" : "APIG.1005",
  "error_msg" : "No permissions to request this method"
}

状态码: 404

Not Found

{
  "error_code" : "APIG.3030",
  "error_msg" : "The instance does not exist;id:eddc4d25480b4cd6b512f270a1b8b341"
}

状态码: 500

Internal Server Error

{
  "error_code" : "APIG.9999",
  "error_msg" : "System error"
}
support.huaweicloud.com/api-apig/BatchDeleteAclV2.html