Skip to main content
PUT
Update
🔑 Requires the schedule_pay_configs.update scope.

Authorizations

Authorization
string
header
required

API key from your incident.io dashboard (Settings → API keys)

Path Parameters

pay_config_id
string
required

The pay config's ID

Example:

"01G0J1EXE7AXZ2C93K61WBPYEH"

id
string
required

Unique identifier for this rule, stable across edits to the config

Example:

"01G0J1EXE7AXZ2C93K61WBPYEH"

Body

application/json
end_time
string
required

Time of day this rule ends, in 24 hour format. Equal to start_time means it runs for the whole day.

Example:

"17:00"

rate_cents
integer<int64>
required

Rate paid while this rule applies, in the lowest denomination of the config's currency

Example:

2400

start_time
string
required

Time of day this rule starts, in 24 hour format

Example:

"09:00"

weekdays
enum<string>[]
required

Days of the week this rule applies on

Available options:
monday,
tuesday,
wednesday,
thursday,
friday,
saturday,
sunday
Example:

Response

OK response.

weekly_rule
object
required

A rule that applies every week, over the same days and hours.