---
title: "Delete Profile"
method: DELETE
path: "/v2/phota/profiles/{profile_id}"
tags: ["Profiles"]
---

# Delete Profile

`DELETE /v2/phota/profiles/{profile_id}`

## Request

- Base URL: `https://api.photalabs.com`
- URL: `https://api.photalabs.com/v2/phota/profiles/{profile_id}`
- Auth: API key in header `X-API-Key`

Permanently delete a profile and all associated data.

## Path parameters

- `profile_id` string, required

## Response `200`

Successful Response

- DeleteProfileResponse: Response confirming a profile has been permanently deleted.
  - `profile_id` string, required: Identifier of the deleted profile.
  - `status` string, required: Result status, e.g. 'ok'.

## Other responses

- `401`: Invalid API key in the X-API-Key header.
- `402`: Insufficient prepaid credit balance.
- `403`: Missing X-API-Key header (no API key provided).
- `404`: Resource not found.
- `422`: Validation Error
- `500`: Internal error.

---

[API](https://skmtc.dev/photalabs/apis/phota-api.md) - [All operations](https://skmtc.dev/photalabs/apis/phota-api/llms.txt) - [OpenAPI document](https://skmtc.dev/photalabs/apis/phota-api/revisions/951f156f1f6c?raw)
