---
# @generated by sylphx-gen. Do not edit.
title: "Delete an app password"
description: "`notify.app_passwords.delete` (DELETE /v1/{name}): Deletes the app password."
type: reference
product: email
summary: "Deletes the app password."
updated: 2026-09-28
nav: false
---

Deletes the app password.

- **Path** `DELETE https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox/app_passwords/app-password`
- **Scope** `notify:write`
- **Effect** `destructive` — a successful call removes data; the CLI asks before it runs.
- **Collection** [app_passwords](/docs/api/app_passwords)
- **Query** `etag`, `validate_only`

## Request

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | The name resource name. Required. |
| `etag` | `string` | The resource etag. |
| `validate_only` | `bool` | Validate without deleting. |

## Response

The call answers with an empty object.

## Errors

- [`UNAUTHENTICATED`](/docs/api/errors/UNAUTHENTICATED) — No valid key or token was presented.
- [`PERMISSION_DENIED`](/docs/api/errors/PERMISSION_DENIED) — The key lacks the method's permission.
- [`RESOURCE_NOT_FOUND`](/docs/api/errors/RESOURCE_NOT_FOUND) — The named Resource does not exist or is not visible.
- [`INVALID_FIELD`](/docs/api/errors/INVALID_FIELD) — A field failed validation.
- [`ETAG_MISMATCH`](/docs/api/errors/ETAG_MISMATCH) — The etag sent does not match the Resource's current etag.

Every error arrives in the body [Errors](/docs/platform/errors) describes.

## Examples

**cURL**

```curl
curl -X DELETE "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox/app_passwords/app-password" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"
```

**TypeScript**

```ts
await sylphx.notify.appPasswords.delete({ name: 'orgs/acme/projects/shop/envs/production/mailboxes/mailbox/app_passwords/app-password' })
```

**Rust**

```rust
let mut req = sylphx::notify::DeleteAppPasswordRequest::default();
req.name = "orgs/acme/projects/shop/envs/production/mailboxes/mailbox/app_passwords/app-password".to_string();
sx.notify().app_passwords().delete(req).await?;
```

**CLI**

```bash
sylphx notify app-passwords delete orgs/acme/projects/shop/envs/production/mailboxes/mailbox/app_passwords/app-password --yes
```

**MCP**

```json
{ "method_id": "notify.app_passwords.delete", "args": {"name":"orgs/acme/projects/shop/envs/production/mailboxes/mailbox/app_passwords/app-password"} }
```
