Policies
Update a policy
Updates an existing policy. Only provided fields are updated. The last_updated_by and last_updated_at are set automatically from the JWT token. If assigned_reviewer_ids is provided, the reviewer list is fully replaced.
put/policies/{id}
Path parameters
idinteger required
Example:42
Numeric ID of the policy
Request body
Response
Policy updated successfully
Example response
{
"message": "Accepted",
"data": {
"id": 42,
"organization_id": 1,
"title": "AI Ethics Policy",
"content_html": "<h1>AI Ethics Policy</h1><p>...</p>",
"status": "draft",
"author_id": 1,
"last_updated_by": 1,
"assigned_reviewer_ids": [
2,
5
]
}
}