List all policies and create a new policy
| Parameter | Type | Required | Description |
|---|---|---|---|
organization_id | uuid | Yes | UUID of the organization to list policies from |
page | integer | No | Page number for pagination (default: 1) |
page_size | integer | No | Number of results per page (default: 10) |
search | string | No | Search term to filter policies by name, description, or ID prefix (also matches version IDs) |
ordering | string | No | Field to order results by. Options: name, -name, created_at, -created_at, updated_at, -updated_at (default: -updated_at) |
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Which field to use when ordering the results.
A page number within the paginated result set.
Number of results to return per page.
A search term.
UUID of the organization for access control. Required.