Path parameters
-
id
integer(int64) Required Numeric ID of the instance
Minimum value is
1
.
Body
Required
-
createdAt
string(date-time) Created at
-
duration
integer(int32) | null Duration
-
foreignKey
integer(int32) Required Foreign key
-
id
integer(int32) Id
-
message
string | null Message
-
script
string Required Script
-
status
string | null Status
Values are
success
orerror
. -
table
string Required Table
-
updatedAt
string(date-time) Updated at
PUT
/scheduled-tasks/{id}.json
curl \
--request PUT 'http://api.example.com/v1/scheduled-tasks/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"createdAt":"2025-05-04T09:42:00Z","duration":42,"foreignKey":42,"id":42,"message":"string","script":"string","status":"success","table":"string","updatedAt":"2025-05-04T09:42:00Z"}'
Request examples
{
"createdAt": "2025-05-04T09:42:00Z",
"duration": 42,
"foreignKey": 42,
"id": 42,
"message": "string",
"script": "string",
"status": "success",
"table": "string",
"updatedAt": "2025-05-04T09:42:00Z"
}