---
description: Delete a specific profile
---

# Delete

### Usage

```javascript
unomi.profile.delete(<string>);
```

### Response

```javascript
{
  success: <boolean>,
  status: <number>,
  data: <string>
}
```

{% hint style="warning" %}
If a profile is successfully deleted, Unomi returns an empty string with a 204 status code.
{% endhint %}

### **Real World Example**

```javascript
async function deleteProfile(profileId) {
  const deleted = await unomi.profile.delete(profileId);
  return deleted;
}
```

