policy
policy auth/鉴权
Changed oneval all the policies queried by conditions: system/subject/action and resources[required]
post/api/v2/policy/systems/{system_id}/auth/
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
Path parameters
system_idstring required
System ID
Request body
Example request
{
"action": {
"id": "edit"
},
"resources": [
{
"id": "framework",
"system": "bk_paas",
"type": "app"
}
],
"subject": {
"id": "admin",
"type": "user"
},
"system": "bk_paas"
}Response
OK
Changes
- breaking
api path removed without deprecation
- info
endpoint added
- breaking
- info
endpoint added
- info