Skip to main content
POST
/
admin
/
clock
/
advance
Advance the clock
curl --request POST \
  --url https://api.useplinth.com/admin/clock/advance \
  --header 'Content-Type: application/json' \
  --data '
{
  "advanceSeconds": 2592000
}
'
{
  "object": "clock_state",
  "simulated_now": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Body

application/json
advanceSeconds
integer
required

Seconds to advance. Max 63,072,000 (2 years).

Example:

2592000

Response

200 - application/json

Clock advanced

object
enum<string>
Available options:
clock_state
mode
enum<string>
Available options:
real,
test
simulated_now
string<date-time> | null
updated_at
string<date-time> | null