v1

latestOpenAPI 3.1.02026-07-1213613295.5 KB
Scheduled Tasks

Update Task

Update a scheduled task for an application.

patch/applications/{uuid}/scheduled-tasks/{task_uuid}

Path parameters

uuidstring required

UUID of the application.

task_uuidstring required

UUID of the scheduled task.

Request body

namestring

The name of the scheduled task.

commandstring

The command to execute.

frequencystring

The frequency of the scheduled task.

containerstring nullable

The container where the command should be executed.

timeoutinteger

The timeout of the scheduled task in seconds.

enabledboolean

The flag to indicate if the scheduled task is enabled.

Response

Scheduled task updated.

idinteger

The unique identifier of the scheduled task in the database.

uuidstring

The unique identifier of the scheduled task.

enabledboolean

The flag to indicate if the scheduled task is enabled.

namestring

The name of the scheduled task.

commandstring

The command to execute.

frequencystring

The frequency of the scheduled task.

containerstring nullable

The container where the command should be executed.

timeoutinteger

The timeout of the scheduled task in seconds.

created_atstring date-time

The date and time when the scheduled task was created.

updated_atstring date-time

The date and time when the scheduled task was last updated.