> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Scheduled Task

Create a new direct-support scheduled task for a specific device.

The task will be executed immediately against a single device.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [N-able N-Central documentation](https://developer.n-able.com/n-central/reference/createremoteexecutiontaskdirect).

## Parameters

| Parameter | Description |
| - | - |
| Credential Password | The password for the credentials. |
| Credential Type | The type of the credentials for a remote execution task. |
| Credential Username | The username for the credentials. |
| Customer ID | The ID of the customer to attach the task to. Can be obtained by using the `ListCustomers` action. |
| Device ID | The ID of the device to attach the task to. Can be obtained by using the `ListDevices` action. |
| Item ID | The ID of the remote execution item. |
| Name | The unique name of the task. |
| Parameters | An array of credential parameters setting objects for the task. **For Example**: <pre>`[    {      "name": "Test Task", #Required      "value": "killprocess.vbs /process:33022", #Required      "type": "string", #Required      "description": "A description." #Optional    }]`</pre>For more information about the `Parameters` field, refer to [N-Central API Reference](https://developer.n-able.com/n-central/reference/createremoteexecutiontaskdirect). |
| Task Type | The type of the task. |

## Example Output

```json theme={"dark"}
{
	"data": {
		"taskId": 1985975
	},
	"_links": {
		"task": "/api/scheduled-tasks/{1985975}"
	}
}
```
