Policy Listing
GET /api/v1/policies
Returns all policies accessible to the authenticated user.
Authentication: Bearer token required (Authorization: Bearer <token>)
Permission: Permissions.POLICIES_POLICY_READ, Permissions.POLICIES_POLICY_EXECUTE, Permissions.POLICIES_POLICY_MANAGE, or Permissions.POLICIES_POLICY_AUDIT
Request
Query Parameters
Parameter
Type
Required
Default
Description
pageIndex
number
No
0
The number of pages to skip before starting to collect the result set
pageSize
number
No
20
The number of items to return
type
string
No
β
Filter by policy type (e.g. local)
Response
Success Response
Status: 200 OK
The X-Total-Count response header contains the total number of matching policies.
Error Responses
Status
Description
401 Unauthorized
Missing or invalid token
403 Forbidden
Insufficient permissions
500 Internal Server Error
Unexpected server failure
Last updated