---
updatedAt: 2026-04-20T19:33:00.000Z
---

# Delete a user profile

[block:html]
{
  "html": "<div class=\"AkaRecipe-Button\" role=\"button\">    \n    <div class=\"AkaRecipe-Title\">Delete a plural entry</div>\n  <a class=\"AkaRecipe-Link\" href=\"https://techdocs.akamai.com/identity-cloud-entity/recipes/delete-a-plural-entry\">Open Recipe<i class=\"icon-chevron-rightward\"></i></a>\n</div>"
}
[/block]

Deletes the specified user profile. Alternatively, you can use this endpoint to delete a child attribute of a plural attribute. In that case, only the child attribute is deleted; the rest of the user profile remains as-is.

[block:callout]
{
  "type": "danger",
  "body": "Data removed with this API call is permanently deleted."
}
[/block]

Refer to the [Registration error codes](https://techdocs.akamai.com/identity-cloud-entity/reference/registration-error-codes) page for details on error codes.

## API client permissions

The following table indicates the API clients that can and can't be used to call this operation:

[block:parameters]
{
  "data": {
    "h-0": "owner",
    "h-1": "access_issuer",
    "h-2": "direct_access",
    "h-3": "direct_access_read",
    "h-4": "login_client",
    "0-0": "✓",
    "0-2": "✓",
    "0-1": "✗",
    "0-3": "✗",
    "0-4": "✗"
  },
  "cols": 5,
  "rows": 1
}
[/block]

## Authentication

This operation supports Basic authentication (recommended) as well as janrain-oauth and janrain-signed authentication. See [Get started](https://techdocs.akamai.com/identity-cloud-entity/reference/get-started) for more information.

## Base URL

The base URL for this operation is your Identity Cloud Capture domain; for example:

`https://educationcenter.us-dev.janraincapture.com`

Your Capture domain (also known as a Registration domain) can be found in Console on the **Manage Application** page.

## Examples

### Example: Delete a user record

This command deletes the user account with the **uuid** **c1b6e517-9930-47dd-9fd5-d692053151ce**. Note that deleting a user account is permanent: there's no way to restore a deleted account.

[block:code]
{
  "codes": [
    {
      "code": "curl -X POST \\\n  -H \"Authorization: Basic c2dueXZ1czZwYzRqbTdraHIybmVxNWdzODlnYnIyZXE6d3Q0YzN1bjl3a2tjZnZ5a25xeDQ0eW5jNDc2YWZzNjg\" \\\n  --data-urlencode type_name=user \\\n  --data-urlencode uuid=c1b6e517-9930-47dd-9fd5-d692053151c \\\n  https://my-app.janraincapture.com/entity.delete",
      "language": "curl"
    }
  ]
}
[/block]

**Example response**

If your API call succeeds the response consists of the status **ok**:

[block:code]
{
  "codes": [
    {
      "code": "{\n  \"stat\": \"ok\"\n}        \n           ",
      "language": "json"
    }
  ]
}
[/block]

**Example error response**

If your API call *doesn't* succeed, you'll get back an error message similar to this:

[block:code]
{
  "codes": [
    {
      "code": "{\n  \"argument_name\": \"uuid\",\n  \"request_id\": \"9mq5bv72q47ehg7g\",\n  \"code\": 200,\n  \"error_description\": \"uuid was not valid for the following reason: invalid uuid\",\n  \"error\": \"invalid_argument\",\n  \"stat\": \"error\"\n}",
      "language": "json"
    }
  ]
}
[/block]

See [Registration error codes](https://techdocs.akamai.com/identity-cloud-entity/reference/registration-error-codes) for more information about these error codes. Note that the Entity and Entity Type API doesn't use standard HTTP error codes.

### Example: Delete a plural within a user record

[block:callout]
{
  "type": "danger",
  "body": "Be careful when using a command similar to this: if you don't get the attribute name exactly right the endpoint ignores the plural and, instead, deletes the entire user record."
}
[/block]

This command deletes a plural value from the user profile that has the **uuid** **30dd1406-f59a-4145-a6de-b94b5e8cacf3**. In this example, the value **30721** is removed from the plural **janrain.properties.managedBy**.

[block:code]
{
  "codes": [
    {
      "code": "curl -X POST \\\n  -H \"Authorization: Basic c2dueXZ1czZwYzRqbTdraHIybmVxNWdzODlnYnIyZXE6d3Q0YzN1bjl3a2tjZnZ5a25xeDQ0eW5jNDc2YWZzNjg\" \\\n  --data-urlencode type_name=user \\\n  --data-urlencode uuid=30dd1406-f59a-4145-a6de-b94b5e8cacf3 \\\n  --data-urlencode attribute_name=\"janrain.properties.managedBy#30721\" \\\n  https://my-app.janraincapture.com/entity.delete",
      "language": "curl"
    }
  ]
}
[/block]

**Example response**

If your API call succeeds the response consists of the word **ok**:

[block:code]
{
  "codes": [
    {
      "code": "{\n  \"stat\": \"ok\"\n}        ",
      "language": "json"
    }
  ]
}
[/block]

## Query parameters

All parameters need to be configured as **x-www-form-urlencoded** body parameters.

[block:parameters]
{
  "data": {
    "h-0": "Parameter",
    "h-1": "Type",
    "h-2": "Required",
    "h-3": "Description",
    "0-0": "attribute_name",
    "0-1": "string",
    "0-2": "✗",
    "0-3": "Attribute path to the plural element you're deleting. Specific instances within a plural are referenced by a combination of the attribute path, a hashtag (**#**), and the instance ID. \n\nFor example, **janrain.properties.managedBy#30721** points to plural instance **30721** in the plural attribute **janrain.properties.managedBy**.",
    "1-0": "created",
    "1-1": "dateTime",
    "1-2": "✗",
    "1-3": "Timestamp generated when the entity was created. This value can be used to help identify the user account If the value of this parameter and the value of the user's **created** attribute don't match the call fails.",
    "2-0": "id",
    "2-1": "string",
    "2-2": "✗",
    "2-3": "Unique identifier of the user account you're deleting. This parameter is required if not using the **uuid** or **key_attribute** parameters.",
    "3-0": "key_attribute",
    "3-1": "string",
    "3-2": "✗",
    "3-3": "Any unique attribute found in the schema that identifies the user account being deleted. This parameter is required if you don't use the **uuid** or **id** parameters.",
    "4-0": "key_value",
    "4-1": "string",
    "4-2": "✗",
    "4-3": "Unique value of the attribute specified by the **key_attribute** parameter. For example, if **key_attribute** is set to **email** then **key_value** needs to be set to the email address of the account you're deleting.\n\nNote that all string values must be enclosed in quotes.",
    "5-0": "lastUpdated",
    "5-1": "dateTime",
    "5-2": "✗",
    "5-3": "Timestamp indicating when the user profile was last updated. This value can be used to help identify the user account.  If the value of this parameter and the value of the user's **lastUpdated** attribute don't match the call fails",
    "6-0": "type_name",
    "6-1": "string",
    "6-2": "✓",
    "6-3": "Entity type where the user record is stored.",
    "7-0": "uuid",
    "7-1": "string",
    "7-2": "✗",
    "7-3": "Unique identifier for the user account. This parameter needs to be used unless you are using the **id** or **key_attribute** parameters to identify the user account you're deleting."
  },
  "cols": 4,
  "rows": 8
}
[/block]

# Sibling pages

* [Count user profiles](https://techdocs.akamai.com/identity-cloud/docs/count-user-profiles.md)
* [Create a user profile](https://techdocs.akamai.com/identity-cloud/docs/create-a-user-profile-1.md)
* [Create multiple user profiles](https://techdocs.akamai.com/identity-cloud/docs/create-multiple-user-profiles.md)
* [Invalidate a user session](https://techdocs.akamai.com/identity-cloud/docs/invalidate-a-user-session.md)
* [Modify a user profile](https://techdocs.akamai.com/identity-cloud/docs/modify-a-user-profile.md)
* [Replace a user profile](https://techdocs.akamai.com/identity-cloud/docs/replace-a-user-profile.md)
* [Search for user profiles](https://techdocs.akamai.com/identity-cloud/docs/search-for-user-profiles.md)
* [View a user profile](https://techdocs.akamai.com/identity-cloud/docs/view-a-user-profile.md)