v51

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01703301564.3 KB
Policies

Approve a policy review

Sets the policy review status to approved and sends an in-app notification to the policy author.

put/policies/{id}/review/approve

Path parameters

idinteger required
Example:42

Numeric ID of the policy

Request body

commentstring

Optional approval comment

Example request

{
  "comment": "Looks good, approved."
}

Response

Policy review approved; returns the updated policy

messagestring

Example response

{
  "message": "OK",
  "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
    ]
  }
}