updateTask( )


Updates a task.

Each time the task is updated, revision increments by 1. The existing revision must be included when updating the task. This ensures you're working with the latest task and prevents unintended overwrites.

Admin Method

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Tasks
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
_idstringRequired

Task ID.


taskUpdateTaskRequired

Task to update.


optionsUpdateTaskOptions
Returns
Return Type:Promise<Task>
Was this helpful?
Yes
No