Admission
Show an admission rule
get/admission/rule/{id}
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared. Required headers: X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Rule ID
Headers
X-Auth-Tokenstring required
Response
Success
Example response
{
"rule": {
"id": 2,
"category": "Kubernetes",
"comment": "Do not delete this exception rule",
"criteria": [
{
"name": "namespace",
"op": "=",
"value": "kube-system"
}
],
"cfg_type": "ground",
"rule_type": "exception"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.