Set the Privacy of the Task.

Parameters

id

The ID of the Task.

privacy

The Privacy setting you wish to apply to the task. Public - 1, Private - 0.

Example

FM_api('Task_setPrivacy', ['id' => '123', 'privacy' => '1']);

Result

On Success

{'ok':1}