# \_setAssignedTo

Assigns a user to a task.

### Parameters

#### id

The ID of the Task to assign the User to.

#### assigned\_to

The ID of the User to be assigned.

### Example

```
FM_api('Task_setAssignedTo', ['id' => '123', 'assigned_to' => '987']);
```

### Result

#### On Success

```
{'ok':1}
```
