Skip to main content
doc0blade47/compdocumentation home
Sign in

Policies

Create a new policy version

Creates a new version for a specific policy.

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

Parameters

Path

idstringrequired

ID of the policy to create a new version for.

Header

X-Organization-Idstring

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

Request Body

The policy version data to create.

object

Responses

201Policy version created successfully.application/json
object
400Bad request.application/json
object
401Unauthorized.application/json
object
404Policy not found.application/json
object

Try It

POST/policies/:id/versions
Path Parameters
Headers
Request Bodyapplication/json
Was this page helpful?