agentSchedules
Updates an agent schedule.
Changed onUpdates a schedule configured for an agent after validating its cadence, timezone, and optional context.
<Check title="Required Permissions" icon="key">Any authenticated user.</Check>
put/agents/{agentId}/schedules/{scheduleId}
Request
- Base URLhttps://api.awork.com/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
agentIdstring uuid required
The agent id.
scheduleIdstring uuid required
The schedule id.
Request body
Response
OK
Changes
- info
added the optional property
to the response with the status
- info
- breaking
the response property
became nullable for the status - info
added the new optional request property
- info
added the optional property
to the response with the status
- breaking