Skip to content

Update a cron job

PATCH
/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/cron/{cron}

Authorizations

Parameters

Path Parameters

organisation
required
string

The organisation ID

Example
test-org
application
required
string

The application ID

Example
test-app
environment
required
string

The environment ID

Example
test-env
cron
required
string

The cron job ID

Request Body required

object
description
string
nullable
scheduleExpression
string
nullable
command
Array<string>
nullable
targetContainerName
string
nullable
isEnabled
boolean
nullable

Responses

200

The updated cron job

object
name
string
schedule
string
command
string

404

The cron job not found