---
title: "POST /v1/projects/{projectId}/devices/{deviceId}/provisioning"
method: POST
path: "/v1/projects/{projectId}/devices/{deviceId}/provisioning"
tags: ["Provisioning"]
---

# POST /v1/projects/{projectId}/devices/{deviceId}/provisioning

`POST /v1/projects/{projectId}/devices/{deviceId}/provisioning`

## Path parameters

- `projectId` string, required
- `deviceId` string, required

## Request body

- ProvisioningProvisionDeviceBody
  - `blueprintId` string
  - `cohortId` string
  - `hardwareIds` string[]
  - `identity` string
  - `name` string
  - `preSharedKey` string
  - `tagIds` string[]
  - `type` 'PRE_SHARED_KEY' | 'ASYMMETRIC_KEY_PAIR'

## Response `200`

A successful response.

- GoliothProvisionDeviceResponse
  - `data` GoliothProvisionData
    - `deviceId` string

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/golioth/apis/golioth-api.md) · [All operations](https://skmtc.dev/golioth/apis/golioth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/golioth/golioth-api/revisions/47c98ae69a55/schema)
