---
title: "Revoke an app password (hosted)"
method: DELETE
path: "/api/emails/{address}/credentials/{id}"
tags: ["Email"]
---

# Revoke an app password (hosted)

`DELETE /api/emails/{address}/credentials/{id}`

## Request

- Base URL: `https://domani.run`
- URL: `https://domani.run/api/emails/{address}/credentials/{id}`
- Auth: HTTP bearer

Revoke an app password. Any mail client using it stops connecting immediately. Hosted mailboxes only.

## Path parameters

- `address` string, required
- `id` string, required

## Response `200`

App password revoked

- object
  - `id` string
  - `revoked` boolean
  - `hint` string

## Other responses

- `404`: App password not found

---

[API](https://skmtc.dev/domani/apis/domani-run-api.md) · [All operations](https://skmtc.dev/domani/apis/domani-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/domani/apis/domani-run-api/revisions/7679f8159533?raw)
