Skip to content

Approve pending policy changes

POST
/v1/policies/{id}/accept-changes
curl --request POST \
--url https://api.varman.io/v1/policies/pol_abc123def456/accept-changes \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "approverId": "mem_abc123def456", "comment": "Looks good" }'

Records your approval of the version pending review. It publishes once every listed approver approved; check published and progress in the response.

id
required
string

Example

pol_abc123def456

Policy ID

X-Organization-Id
string

Organization ID (required for session auth, optional for API key auth)

Media typeapplication/json
object
approverId

Member ID of the approver deciding. Only used for API key callers; session callers decide as themselves.

string

Example

mem_abc123def456
comment

Reason for the decision

string

Example

Looks good