curl -X PUT 'https://www.wiseyield.co/api/v1/recurring-tasks/aaaaaaaa...' \
-H "Authorization: Bearer $WISEYIELD_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "isActive": false }'
Recurring Tasks
Update recurring task
Update a recurring task schedule (partial). Already-generated tasks are not affected.
PUT
/
api
/
v1
/
recurring-tasks
/
{id}
curl -X PUT 'https://www.wiseyield.co/api/v1/recurring-tasks/aaaaaaaa...' \
-H "Authorization: Bearer $WISEYIELD_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "isActive": false }'
PUT https://www.wiseyield.co/api/v1/recurring-tasks/{id}
Authentication
Requires a key with thetasks:write scope.
Path parameters
string
required
Recurring task UUID.
Request body
All fields optional.string
One of
daily, weekly, monthly, yearly, custom.integer
1–365.
array
0–6. Pass
null to clear.integer
1–31. Pass
null to clear.integer
1–12. Pass
null to clear.string
Calendar date as
YYYY-MM-DD. A full ISO 8601 datetime is accepted too, but only its date part is kept.string
Calendar date as
YYYY-MM-DD. A full ISO 8601 datetime is accepted too, but only its date part is kept. Pass null to clear.boolean
Pause/resume generation.
integer
0–90.
string
Pass
null to clear.string
Pass
null to clear.Response
Returns the updated schedule wrapped underdata.
curl -X PUT 'https://www.wiseyield.co/api/v1/recurring-tasks/aaaaaaaa...' \
-H "Authorization: Bearer $WISEYIELD_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "isActive": false }'
Errors
| Status | When |
|---|---|
400 INVALID_ID | {id} is not a valid UUID |
400 VALIDATION_ERROR | Body validation failed |
401 | Missing, malformed, expired, or revoked API key |
403 INSUFFICIENT_SCOPE | Key lacks tasks:write scope |
404 NOT_FOUND | Schedule doesn’t exist or was created by another user |
429 RATE_LIMIT_EXCEEDED | Per-user rate limit reached |
5xx | Server error |