---
title: "Remove an endpoint device"
method: DELETE
path: "/endpoint-protection/devices/{device_id}"
---

# Remove an endpoint device

`DELETE /endpoint-protection/devices/{device_id}`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/endpoint-protection/devices/{device_id}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `endpoint_protection:write`

Removes a device from endpoint protection

## Path parameters

- `device_id` integer, required

## Response `200`

The device has been removed

- object
  - `success` integer: The integer 1 indicating success

## Other responses

- `404`: The device was not found

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
