Updates a specified Task.

Parameters

id

The ID of the Task to update.

Example

FM_api('Task_update', ['id' => '1']);

Results

On Success

A confirmation of success, followed by the previous Task ID and the new Task ID if a new ID was generated. For example: {'ok':1,'oldId':1,'newId':2}

On Failure

If the User is not logged in: {'error':'not logged in'}