---
title: "Revoke an account"
method: DELETE
path: "/provider-accounts/{id}"
tags: ["Provider accounts"]
---

# Revoke an account

`DELETE /provider-accounts/{id}`

## Request

- Base URL: `https://api.customdomain.ai/v1`
- URL: `https://api.customdomain.ai/v1/provider-accounts/{id}`
- Auth: HTTP bearer

Deletes the key and the account. Its domains stay connected and served, without continuous access; each domain's timeline records it.

## Path parameters

- `id` string, required

## Response `200`

Revoked

- object
  - `id` string
  - `revoked` boolean
  - `domains_kept_connected` integer

## Other responses

- `401`: Error envelope: {code, title, details}.
- `403`: Error envelope: {code, title, details}.
- `404`: Error envelope: {code, title, details}.

---

[API](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api.md) · [All operations](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api/llms.txt) · [OpenAPI document](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api/revisions/34d89cb7a7cd?raw)
