policy
batch auth by actions/批量鉴权接口
Changed onbatch auth by actions
post/api/v2/policy/systems/{system_id}/auth_by_actions/
Request
- The document declares no server URL.
- Auth
- API key in header X-Bk-App-Code
- or API key in header X-Bk-App-Secret
Request body
Example request
{
"actions": [
{
"id": "edit"
}
],
"resources": [
{
"id": "framework",
"system": "bk_paas",
"type": "app"
}
],
"subject": {
"id": "admin",
"type": "user"
}
}Response
OK
Handler Auth By Actions Response required
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking