Skip to main content
POST
/
api
/
v1
/
custom
/
org
/
{organization_uuid}
/
dynamic_rules
/
validate
cURL
curl --request POST \
  --url https://api.tilt.io/api/v1/custom/org/{organization_uuid}/dynamic_rules/validate/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "expression": "<string>",
  "sample_context": {}
}
'
{
  "valid": true,
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization_uuid
string<uuid>
required

Body

expression
string
required
Maximum string length: 1000
sample_context
object

Response

200 - application/json
valid
boolean
required
error
string