# ProvisioningServiceClient API

> ProvisioningServiceClient API on Apizie: 15 endpoints (Bulk device enrollment group operation with maximum of 10 groups., Get a device enrollment group., Create or update a device enrollment group., Delete a device enrollment group., …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:azure-deviceprovisioningservices-device-provisioning-services-2`
- Category: Cloud
- Status: byok
- Source: https://learn.microsoft.com/rest/api/azure/
- Page: https://apizie.tech/api/cloud/azure-deviceprovisioningservices-device-provisioning-services-2
- OpenAPI: https://apizie.tech/api/cloud/azure-deviceprovisioningservices-device-provisioning-services-2/openapi.json

API for service operations with the Azure IoT Hub Device Provisioning Service

## Endpoints

### Bulk device enrollment group operation with maximum of 10 groups.
`POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/enrollment-group-run-bulk-operation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| body | object | yes | JSON request body |

### Get a device enrollment group.
`GET https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/enrollment-group-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| id | string | yes | Enrollment group ID. |

### Create or update a device enrollment group.
`POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/enrollment-group-create-or-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| id | string | yes | Enrollment group ID. |
| If-Match | string | no | The ETag of the enrollment record. |
| body | object | yes | JSON request body |

### Delete a device enrollment group.
`POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/enrollment-group-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| id | string | yes | Enrollment group ID. |
| If-Match | string | no | The ETag of the enrollment group record. |

### Get the attestation mechanism in the device enrollment group record.
`POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/enrollment-group-get-attestation-mechanism` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| id | string | yes | Enrollment group ID |

### Query the device enrollment groups.
`POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/enrollment-group-query` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| x-ms-max-item-count | integer | no | Page size |
| x-ms-continuation | string | no | Continuation token |
| body | object | yes | JSON request body |

### Bulk device enrollment operation with maximum of 10 enrollments.
`POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/individual-enrollment-run-bulk-operation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| body | object | yes | JSON request body |

### Get a device enrollment record.
`GET https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/individual-enrollment-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| id | string | yes | This id is used to uniquely identify a device registration of an enrollment. A case-insensitive string (up to 128 characters long) of… |

### Create or update a device enrollment record.
`POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/individual-enrollment-create-or-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| id | string | yes | This id is used to uniquely identify a device registration of an enrollment. A case-insensitive string (up to 128 characters long) of… |
| If-Match | string | no | The ETag of the enrollment record. |
| body | object | yes | JSON request body |

### Delete a device enrollment record.
`POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/individual-enrollment-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| id | string | yes | This id is used to uniquely identify a device registration of an enrollment. A case-insensitive string (up to 128 characters long) of… |
| If-Match | string | no | The ETag of the enrollment record. |

### Get the attestation mechanism in the device enrollment record.
`POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/individual-enrollment-get-attestation-mechanism` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| id | string | yes | This id is used to uniquely identify a device registration of an enrollment. A case-insensitive string (up to 128 characters long) of… |

### Query the device enrollment records.
`POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/individual-enrollment-query` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| x-ms-max-item-count | integer | no | Page size |
| x-ms-continuation | string | no | Continuation token |
| body | object | yes | JSON request body |

### Gets the device registration state.
`GET https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/device-registration-state-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| id | string | yes | Registration ID. |

### Deletes the device registration
`POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/device-registration-state-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| id | string | yes | Registration ID. |
| If-Match | string | no | The ETag of the registration status record. |

### Gets the registration state of devices in this enrollmentGroup.
`POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/device-registration-state-query` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dpsName | string | yes | The DPS instance hostname. |
| api-version | string | no | The API version to use for this operation. |
| id | string | yes | Enrollment group ID. |
| x-ms-max-item-count | integer | no | pageSize |
| x-ms-continuation | string | no | continuation token |

## Example
```
curl "https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/enrollment-group-run-bulk-operation" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the ProvisioningServiceClient API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services-2/enrollment-group-run-bulk-operation with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the ProvisioningServiceClient API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. ProvisioningServiceClient itself also needs your own key from azure.com.

### Can AI agents use the ProvisioningServiceClient API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:azure-deviceprovisioningservices-device-provisioning-services-2.

### What is the status of the ProvisioningServiceClient API?
Needs your own provider key (bring your own key)
