Skip to main content
PUT
Update a rule

Headers

auth
string
required

The access token. The gateway verifies it and passes the user and the business on.

Path Parameters

id
string
required
Pattern: ^rl_[a-z0-9]+_[a-f0-9]+$

Body

application/json
scope_type
enum<string>
required
Available options:
ADMISSION,
DISCHARGE,
APPOINTMENT,
PRESCRIPTION,
PATIENT
events
string[]
required
Required array length: 1 - 10 elements
Minimum string length: 1
name
string
required
Required string length: 1 - 120
conditions
object
required
tasks
object[]
required
Required array length: 1 - 20 elements
description
string | null
Maximum string length: 500
active
boolean

Response

Success.

status
string
required
Allowed value: "success"
data
object
required