---
title: "Unlink an ad account."
method: DELETE
path: "/api/ad-accounts"
---

# Unlink an ad account.

`DELETE /api/ad-accounts`

## Request

- Base URL: `https://shapelessai.com`
- URL: `https://shapelessai.com/api/ad-accounts`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://shapelessai.com/api/auth/mcp/authorize`, token URL `https://shapelessai.com/api/auth/mcp/token`, scopes: `publish`)

## Response `200`

OK

## Other responses

- `401`: No credential, or not valid.
- `403`: The key is missing the "publish" scope.
- `429`: Over the key's rate limit (600 requests an hour).

---

[API](https://skmtc.dev/shapelessai/apis/shapeless-api.md) · [All operations](https://skmtc.dev/shapelessai/apis/shapeless-api/llms.txt) · [OpenAPI document](https://skmtc.dev/shapelessai/apis/shapeless-api/revisions/fae8f701d466?raw)
