policy
policy query/策略查询
query the policy by conditions: system/subject/action and resources[optional]
post/api/v2/policy/systems/{system_id}/query/
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
Changed in 3 of the 8 revisions of this API.22
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ○
endpoint added
endpoint-added
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲