curl --request POST \
--url http://localhost:3333/v1/policies/{id}/versions/{versionId}/activate \
--header 'X-API-Key: <api-key>'{
"versionId": "<string>",
"version": 123
}Marks a version as the active (published) version and updates the policy content.
curl --request POST \
--url http://localhost:3333/v1/policies/{id}/versions/{versionId}/activate \
--header 'X-API-Key: <api-key>'{
"versionId": "<string>",
"version": 123
}API key for authentication
Organization ID (required for session auth, optional for API key auth)
Policy ID
"pol_abc123def456"
Policy version ID
"pv_abc123def456"
Was this page helpful?