---
title: "Unlink all entities from this account (set FKs to null, delete junction records), then delete account Note: Will fail if any jobs use this account as JobAccountId (required field)"
method: POST
path: "/api/v1/Accounts/{id}/unlink-all"
tags: ["Account"]
---

# Unlink all entities from this account (set FKs to null, delete junction records), then delete account Note: Will fail if any jobs use this account as JobAccountId (required field)

`POST /api/v1/Accounts/{id}/unlink-all`

## Request

- Base URL: `https://api.fireserviceusa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fireserviceusa.com/api/v1/Accounts/{id}/unlink-all`
- Auth: none declared

## Path parameters

- `id` integer, required

## Response `200`

Success

---

[API](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api.md) - [All operations](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api/revisions/96ea2ea68d87?raw)
