Skip to main content
doc0blade47/compdocumentation home
Sign in

Policies

Set a policy version as active

Sets a specific policy version as the active version without publishing.

Last updated Oct 11, 2026
POST/policies/:id/versions/:versionId/activate

Parameters

Path

idstringrequired

ID of the policy.

versionIdstringrequired

ID of the policy version to activate.

Header

X-Organization-Idstring

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

Responses

200Policy version activated successfully.application/json
object
400Bad request.application/json
object
401Unauthorized.application/json
object
404Policy or version not found.application/json
object

Try It

POST/policies/:id/versions/:versionId/activate
Path Parameters
Headers
Was this page helpful?