---
title: "Delete a profile"
description: "Permanently deletes a profile owned by the authenticated user and all its subscriptions. This action cannot be undone."
canonical: https://y2.dev/docs/api/reference/profiles/deleteProfile/
---

Endpoint Reference[Profiles](https://y2.dev/docs/api/reference/profiles)

# Delete a profile

Permanently deletes a profile owned by the authenticated user and all its subscriptions. This action cannot be undone.

`DELETE https://api.y2.dev/api/v1/profiles/{profileId}`

- Operation ID: `deleteProfile`
- Required scopes: `profiles:write`
- Contract: https://y2.dev/openapi.json

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | Yes | Stable public profile ID. Legacy IDs remain accepted during the migration window. |
| `If-Match` | header | string | No | Strong ETag from the latest representation. A mismatch returns 412. |

## Responses

| Status | Description | Body |
| --- | --- | --- |
| 204 | Profile deleted. The response has no body. |  |
| 400 | Invalid request parameters |  |
| 401 | Missing or invalid API key |  |
| 403 | Insufficient permissions or access denied |  |
| 404 | Resource not found |  |
| 412 | The supplied If-Match validator does not match the current representation. |  |
| 429 | Rate limit exceeded (per-key or per-account aggregate) |  |
| 500 | Internal server error |  |
