---
title: "Deactivate device for user"
method: POST
path: "/v1/devices/{deviceUuid}/deactivate"
tags: ["Devices"]
---

# Deactivate device for user

`POST /v1/devices/{deviceUuid}/deactivate`

Unlink a device from a user on logout. Optionally pass userId with internal API access to act on behalf of another user.

## Path parameters

- `deviceUuid` string, required

## Request body

- object
  - `userId` string

## Response `200`

Default Response

- object
  - `success` boolean

## Other responses

- `400` — Default Response
- `404` — Default Response

---

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