---
title: "Delete Device from Inventory"
method: DELETE
path: "/restapi/v2/accounts/{accountId}/device-inventory"
tags: ["Devices"]
---

# Delete Device from Inventory

`DELETE /restapi/v2/accounts/{accountId}/device-inventory`

Deletes an existing unassigned (without digital line or phone number) device or multiple devices
from the account inventory. It is possible to delete up to 10 devices per request.

## Path parameters

- `accountId` string, required

## Request body

- DeleteDeviceFromInventoryRequest
  - `records` object[], required — List of internal identifiers of the devices that should be deleted
    - `deviceId` string — Internal identifier of a device that should be deleted

## Response `200`

Successful operation

- DeleteDeviceFromInventoryResponse
  - `records` object[], required
    - `bulkItemSuccessful` boolean — Specifies if a device is successfully deleted
    - `deviceId` string — Internal identifier of a device
    - `bulkItemErrors` ApiError[] — The list of errors occurred during processing of particular item of bulk operation. Returned only if `bulkItemSuccessful` is false
      - `errorCode` string, required — Logical error code (typically, 3 letters followed with number, dash separated)
      - `message` string, required — User-friendly error message

## Other responses

- `400` — General response with **HTTP 400 "Bad request"** status.<br> Reasons: unparsable request, path, query or body parameters are invalid. The error description may contain reference to particular parameter(s) which haven't passed the validation.
- `403` — General response with **HTTP 403 "Forbidden"** status.<br> Reasons: the requested operation is forbidden because of certain resource state, lack of permissions, feature unavailability, etc.
- `429` — General response with **HTTP 429 "Too many requests"** status.<br> Reasons: certain rate limit is exceeded.
- `500` — General response with **HTTP 500 "Internal Server Error"** status.<br> Reasons: general server-side error.
- `503` — General response with **HTTP 503 "Service not available"** status.<br> Reasons: server cannot process the request because of being overloaded, misconfiguration or other issues.

---

[API](https://skmtc.net/ringcentral/apis/ringcentral-api.md) · [All operations](https://skmtc.net/ringcentral/apis/ringcentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ringcentral/ringcentral-api/revisions/8d602198ec97/schema)
