v1

latestSwagger 2.02026-07-175271155.8 KB
policy

batch auth by actions/批量鉴权接口

batch auth by actions

post/api/v1/policy/auth_by_actions

Request body

systemstring required

Example request

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

Response

OK

HandlerAuthByActionsResponse required