---
title: "Delete profile"
method: DELETE
path: "/v1/profiles/{id}"
tags: ["Profiles"]
---

# Delete profile

`DELETE /v1/profiles/{id}`

## Request

- Base URL: `https://api.postlake.dev`
- URL: `https://api.postlake.dev/v1/profiles/{id}`
- Auth: `bearerAuth` (a scheme the document does not define)

Delete a profile. This ALSO disconnects every channel in it, and reconnecting each one requires its owner to approve access on that network again. It therefore refuses with 400 while channels are attached, naming them, unless `?force=true` is passed.

## Query parameters

- `force` boolean

## Response `200`

Deleted

- object
  - `deleted` boolean
  - `disconnected` string[]: The channels that went with it.

## Other responses

- `400`: No such profile, or channels are attached and force was not set
- `401`: Unauthorized

---

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