v1

latestSwagger 2.02026-07-175271155.8 KB
policy

batch auth by resources/批量鉴权接口

batch auth by resources

post/api/v1/policy/auth_by_resources

Request body

systemstring required

Example request

{
  "action": {
    "id": "edit"
  },
  "resources_list": [
    [
      {
        "id": "framework",
        "system": "bk_paas",
        "type": "app"
      }
    ]
  ],
  "subject": {
    "id": "admin",
    "type": "user"
  },
  "system": "bk_paas"
}

Response

OK

HandlerAuthByResourcesResponse required