---
title: "Create a deployment task."
method: POST
path: "/deploymentTasks"
tags: ["Deployment Tasks"]
---

# Create a deployment task.

`POST /deploymentTasks`

Deploy the components as configured per the template/version assigned to 1 or more Greengrass V2 cores.
This is an asynchronous call, meaning that when submitted the call will return immediately with a `taskId` while the deployments are being created in the background. Use the `GET /deployments/{taskId}` to retrieve the status of the task.

## Response `202`

Accepted

---

[API](https://skmtc.dev/aws-samples/apis/connected-device-framework-greengrass-v2-provisioning.md) · [All operations](https://skmtc.dev/aws-samples/apis/connected-device-framework-greengrass-v2-provisioning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aws-samples/connected-device-framework-greengrass-v2-provisioning/revisions/7fee7a72e42c/schema)
