Documentation
Admin API Reference
Policies
Overview Policies API
Express Gateway’s Admin API supports querying, enabling and disabling available policies in the configuration.
Get enabled policies
Request: GET /policies
Example
Request: GET /policies
Response: 200
[
"proxy",
"key-auth"
]
Enables a policy
Request: PUT /policies/:policy
Example
Request: PUT /policies/proxy
Response: 200
{
"status": "ok"
}