Skip to main content
POST
/
routines
/
{jobId}
/
enable
Enable routine
curl --request POST \
  --url https://www.dench.com/api/v1/routines/{jobId}/enable \
  --header 'Authorization: Bearer <token>'
{
  "jobId": "trg_cron001",
  "nextFireAt": 1765612800000
}

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Path Parameters

jobId
string
required

Response

Successful response

jobId
string
required
nextFireAt
number | null