Policies

Approve a policy review

Changed on

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

put/policies/{id}/review/approve

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/policies/{id}/review/approve
  • Auth
    HTTP bearer

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
    ]
  }
}

Changes