POST
Update schedule task
string
obrigatório
Chave Client API da sua conta. Você pode gerá-la em Configurações da Conta.
string
obrigatório
Identificador exclusivo para server uuid.
string
obrigatório
Identificador exclusivo para schedule id.
string
obrigatório
Identificador exclusivo para task id.

Resposta

string
Tipo de recurso retornado pela API (ex: server, stats, list, api_key).
object
Atributos detalhados do recurso retornado.

Exemplo de Uso

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corpo

application/json
action
enum<string>
obrigatório

The action to perform.

Opções disponíveis:
command,
power,
backup
Exemplo:

"example"

time_offset
number
obrigatório

The delay before this task runs. Must be at least 0. Must not be greater than 900.

Exemplo:

1.5

payload
string | null

The payload. This field is required unless action is in backup.

Exemplo:

"example"

sequence_id
number

The task execution order. Must be at least 1.

Exemplo:

1.5

continue_on_failure
boolean

Whether the schedule continues when this task fails.

Exemplo:

true

Resposta

Schedule task updated.

object
string
obrigatório
Exemplo:

"schedule_task"

attributes
object
obrigatório