Skip to main content
POST
Create rule version

Authorizations

Authorization
string
header
required

OAuth2 Authorization Code flow

Path Parameters

id
string
required

Body

application/json
status
enum<string>
Available options:
draft,
published,
archived
graph
object
viewport
object
message
string
documents
object[]

Response

200 - application/json
object
string
required

Object type

Example:

"page"

id
string
required

Unique identifier

Example:

"p_abc123"

createdAt
string<date-time>
required

Creation timestamp

Example:

"2024-01-15T10:30:00.000Z"

updatedAt
string<date-time>
required

Last update timestamp

Example:

"2024-01-15T14:45:00.000Z"

name
string
required
kind
string
required
environments
object[]
required
versions
object[]
required
ruleVersions
object[]
required
tests
object[]
required
createdBy
Created by · object

Principal who created this object

Example:
updatedBy
Updated by · object

Principal who last updated this object

Example:
description
string | null
activeVersionId
string | null