---
updatedAt: 2025-09-25T21:12:55.000Z
agentTools:
  projectIndex: https://developers.toriihq.com/llms.txt
---

# Opsgenie - Delete User

This guide documents the **Custom Action** configuration to delete an Opsgenie user using their API.  Documentation for the Opsgenie endpoint called by this custom action can be found in [Opsgenie's developer documentation](https://docs.opsgenie.com/docs/user-api).

### Custom Action Configuration

**Method** :  DELETE

**URL**  :   \<api.opsgenie.com>/v2/users/\[Trigger.User.Email>]

**Query Parameters**

| Parameter | Variable Mapping |
| :-------- | :--------------- |

**Headers**

| Header        | Value                        |
| :------------ | :--------------------------- |
| Content-Type  | application/json             |
| Authorization | GenieKey *\<your\_api\_key>* |

**Body**

No content is required in the body of the request.

```json
```

> 📘 Tips
>
> There are additional Opsgenie API endpoints that could be used with custom actions.
>
> * [Add Team Member](https://docs.opsgenie.com/docs/team-member-api)
> * [Team API](https://docs.opsgenie.com/docs/team-api)

> 👍 Congratulations!
>
> You have successfully created a Custom Action to delete an Opsgenie user using their API.