policy
batch auth by actions/批量鉴权接口
batch auth by actions
post/api/v1/policy/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"
},
"system": "bk_paas"
}Response
OK
Handler Auth By Actions Response required
Changes
No recorded changes to this operation across all 8 revisions of this API.