Skip to main content
POST
curl

Body

application/json
target_type
enum<string>
required
Available options:
node,
instance
target_id
integer
required
Required range: x >= 1
name
string
required

Schedule name

Maximum string length: 63
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$(?![\s\S])
calendar
string
required

Native systemd calendar expression

Maximum string length: 255
Pattern: ^[\x20-\x7E]+$(?![\s\S])
command
string
required

Command to run

Maximum string length: 4096
timeout_seconds
integer
Required range: 1 <= x <= 86400
start
boolean

Response

The request succeeded; an exact retry returned the existing record.

data
object
required
meta
object
required