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

# Datadog - Disable User

This guide documents the configuration of a custom action for disabling a user in Datadog via their API.

**Note:** Other actions for users could be configured or built based on what is supported by Datadog's API. See additional options in the "Tips" section below.

Additional documentation on disabling user endpoints can be found [here](https://docs.datadoghq.com/api/latest/users/#disable-a-user).

### Custom Action Configuration

**Method** :  DELETE

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

**Query Parameters**

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

**Headers**

| Header             | Value                     |
| :----------------- | :------------------------ |
| Content-Type       | application/json          |
| DD-API-KEY         | \<your\_api\_key>         |
| DD-APPLICATION-KEY | \<your\_application\_key> |

**Body**

No content or value is required for the body.

```json
```

> 👍 Congratulations! At this point you should have successfully created a custom action for disabling a user in Datadog.

> 📘 Tips
>
> You can create actions for other Datadog API endpoints.
>
> * [Create a user](https://docs.datadoghq.com/api/latest/users/#create-a-user)
> * [Update a user](https://docs.datadoghq.com/api/latest/users/#update-a-user)
> * [Send invitation emails](https://docs.datadoghq.com/api/latest/users/#send-invitation-emails)