---
title: "REST API: Delete User from Event"
type: "wiki"
space: "Axero Documentation"
author: "Anonymous User"
created: 2020-07-06T22:25:35Z
updated: 2026-09-28T01:11:18Z
tags: ["API"]
url: "https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/42833/rest-api-delete-user-from-event"
---

# REST API: Delete User from Event

[Open API Guide](https://my.axerosolutions.com/spaces/5/axero-documentation/api-guide?id=42833)
DELETE/api/events/\{EventID\}/users/members/\{UserID\}

Remove a user from an event's attendees or invitees.

## Request

### Request Header
| Header | Required | Value | Description |
| :--- | :--- | :--- | :--- |
| `Authorization` | YES | `Bearer YOUR_TOKEN` | Bearer token for the authenticated user. [Learn how to create Bearer tokens](https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/108973/creating-bearer-tokens). |
### Required Parameters
| Parameter | Type | Required | Location | Description |
| :--- | :--- | :--- | :--- | :--- |
| `EventID` | Integer | YES | Path | Unique ID of the event |
| `UserID` | Integer | YES | Path | Unique ID of the user to remove from the event |
### Optional Parameters
| Parameter | Type | Required | Location | Description |
| :--- | :--- | :--- | :--- | :--- |
| `Notify` | Boolean | NO | Query | Whether to send the user a cancellation notification. True by default. |
| `InstanceOption` | Integer | NO | Query | For a recurring event, which occurrences the removal applies to: 1 = All \(default\), 2 = Future, 3 = Single. |
| `Instance` | String | NO | Query | For a recurring event, the occurrence date the removal applies to when InstanceOption is 2 or 3. Default: none. |
## Example

### Request Header

```
Authorization: Bearer YOUR_TOKEN
```

### Request URL

`https://your-site.com/api/events/130/users/members/1018?Notify=true`

### Success Response

```
true
```

### Error Response

```
{
  "Message": "The request is invalid."
}
```

## Error Handling

| Status Code | Likely Cause | Next Action |
| :--- | :--- | :--- |
| 400 Bad Request | EventID or UserID in the path is not an integer. | Send numeric IDs in the path. |
| 401 Unauthorized | Missing or invalid Bearer token. | Check token validity. [Learn how to create Bearer tokens →](https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/108973/creating-bearer-tokens) |
| 403 Forbidden | User does not have sufficient permissions. | Confirm the user has the required roles for this action. |
| 500 Server Error | Internal failure. | Retry later. |

## Rate Limits

While Axero does not enforce hard rate limits by default, we recommend the following best practices to ensure optimal performance:

- **Sustained Request Rate:** Do not exceed 5 API calls per second
- **Sequential Processing:** Wait for each request to complete before sending the next in automated workflows
- **Concurrent Connections:** If parallel processing is required, limit to 3 or fewer simultaneous requests
- **Response Timeout:** Ensure API responses complete within 15 seconds during testing

Axero may implement temporary rate restrictions if excessive API usage affects overall site performance. For high-volume integrations, contact Axero to discuss your requirements.
