---
title: "Revoke device access"
method: POST
path: "/v1/devices/{dongleId}/del_user"
tags: ["user management"]
---

# Revoke device access

`POST /v1/devices/{dongleId}/del_user`

## Request

- Base URL: `https://api.comma.ai`
- URL: `https://api.comma.ai/v1/devices/{dongleId}/del_user`
- Auth: HTTP bearer

Revoke read permissions from a user by email. Authed user must be device owner to perform. If multiple users are attached to an email address, device access is removed from all users.

## Request body

- object
  - `email` string, required

## Response `200`

Operation successful

- object
  - `success` 1, required

## Changes

- **2022-11-27** `5b1478ce801f`: 1 info
  - api tag `user management` added
- **2022-11-27** `04af598547de`: 1 info
  - the endpoint scheme security `AuthUser` was added to the API

[Operation history](https://skmtc.dev/comma/apis/comma-api/changes/v1/devices/:dongleId/del_user/post.md)

---

[API](https://skmtc.dev/comma/apis/comma-api.md) - [All operations](https://skmtc.dev/comma/apis/comma-api/llms.txt) - [OpenAPI document](https://skmtc.dev/comma/apis/comma-api/revisions/24f7dbc922ad?raw)
