---
title: "Revoke Expense Device"
method: POST
path: "/companies/{company_id}/expenses/devices/{device_id}/revoke"
tags: ["expense-devices"]
---

# Revoke Expense Device

`POST /companies/{company_id}/expenses/devices/{device_id}/revoke`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/companies/{company_id}/expenses/devices/{device_id}/revoke`
- Auth: none declared

Unpair a phone. Its key stops working at once; the row (and the receipts it filed) stay.

## Path parameters

- `company_id` string, required
- `device_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- DeviceOut
  - `id` string, required
  - `employee_id` string, required
  - `employee_name` string, nullable, required
  - `label` string, required
  - `status` 'active' | 'expired' | 'revoked', required
  - `created_at` string, date-time, required
  - `expires_at` string, date-time, required
  - `last_used_at` string, date-time, nullable, required
  - `revoked_at` string, date-time, nullable, required
  - `uploads_today` integer, required
  - `daily_cap` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zeno-works/apis/zeno-api.md) · [All operations](https://skmtc.dev/zeno-works/apis/zeno-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zeno-works/apis/zeno-api/revisions/1eb93dde146c?raw)
