> ## Documentation Index
> Fetch the complete documentation index at: https://luarmor.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete User/Key

> Delete a key from your project.

Deleting a key also removes access for the user whose HWID or Discord ID is linked to it.

## Endpoint

`DELETE https://api.luarmor.net/v3/projects/{project_id}/users`

Example URL: `https://api.luarmor.net/v3/projects/3f98888f9999c9999e99a2/users?user_key=n1gG3Rs3CkmYd1Ck64gg0t`

## Path parameters

| Name | Type | Required | Description |
| - | - | - | - |
| `project_id` | string | Yes | ID of the project to remove the user's access from |

## Query parameters

| Name | Type | Required | Description |
| - | - | - | - |
| `user_key` | string | Yes | Key to delete |

## Headers

| Name | Type | Required | Description |
| - | - | - | - |
| `Authorization` | string | Yes | Your Luarmor API key |

## Success response

`200`: the key has been deleted.

```json theme={null}
{
	"success": true,
	"message": "User has been deleted!"
}
```

## Error responses

| Status | Meaning |
| - | - |
| `403` | Invalid API key |
| `404` | Wrong project ID or user key |

Example error response:

```json theme={null}
{
	"success": false,
	"message": "Key not found"
}
```

## Example request

```bash theme={null}
curl -X DELETE -H "Authorization: <api_key>" \
		 "https://api.luarmor.net/v3/projects/<project_id>/users?user_key=..."
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.