Mailzero Assistant
Take or renew the lease on a task
Two assignees never work one matter: the lease names who works it until when (fifteen minutes by default, up to an hour). Taking it again renews it; another holder is refused with TASK_LEASED until the expiry. An effects request takes the lease on its own. Requires assistant:write.
post/api/assistant/tasks/{id}/lease
Request
- Base URL: https://domani.run
- URL: https://domani.run/api/assistant/tasks/{id}/lease
- Auth: HTTP bearer
Path parameters
idstring required
Request body
Response
The lease
Changes
No recorded changes to this operation across all 2 revisions of this API.