Policies
Set active policy version
Changed onSet active policy version in Comp AI. Create, version, publish, export, map, and improve compliance policies with AI-assisted drafting and approval workflows.
post/v1/policies/{id}/versions/{versionId}/activate
Request
- Base URLhttps://api.trycomp.ai
- AuthAPI key in header X-API-Key
Path parameters
idstring required
Example:pol_abc123def456
Policy ID
versionIdstring required
Example:pv_abc123def456
Policy version ID
Headers
X-Organization-Idstring
Organization ID (required for session auth, optional for API key auth)
Response
Active version updated
Changes
- info
the endpoint scheme security
oauth2was removed from the API
- info
- info
the endpoint scheme security
oauth2was added to the API
- info