---
title: "Unlink a P2 user's Microsoft 365 account. Clears the stored IDs and removes any active Graph subscriptions. Existing P2 appointments, including ones this user organizes or is assigned to, are left in place."
method: DELETE
path: "/api/v1/Admin/Users/{userId}/MicrosoftLink"
tags: ["Admin"]
---

# Unlink a P2 user's Microsoft 365 account. Clears the stored IDs and removes any active Graph subscriptions. Existing P2 appointments, including ones this user organizes or is assigned to, are left in place.

`DELETE /api/v1/Admin/Users/{userId}/MicrosoftLink`

## 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/Admin/Users/{userId}/MicrosoftLink`
- Auth: none declared

## Path parameters

- `userId` 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)
