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

# deleteOneHook



**mutation** `deleteOneHook(input: DeleteOneHookInput!): HookDeleteResponse!`

## Arguments

**`input`**: `DeleteOneHookInput!` (required)

## Returns

`HookDeleteResponse!`

**`configuration`**: `JSON`

Per-event-type configuration, keyed by event log type. Currently only ENTITLEMENT_USAGE_EXCEEDED uses this: an array of usage-percentage thresholds (e.g. [50, 80, 100]) that each fire the webhook once when crossed. Other event types don’t require any configuration.

---

**`createdAt`**: `DateTime`

Timestamp of when the record was created

---

**`description`**: `String`

Webhook description

---

**`endpoint`**: `String`

The Webhook endpoint URL

---

**`environmentId`**: `UUID`

The unique identifier for the environment

---

**`eventLogTypes`**: `[EventLogType!]`

The event types that the webhook will be triggered on

---

**`id`**: `UUID`

Unique identifier for the entity

---

**`secretKey`**: `String`

Secret key for the webhook

---

**`status`**: `HookStatus`

The status of the webhook

## Examples

```graphql Mutation
mutation DeleteOneHook($input: DeleteOneHookInput!) {
  deleteOneHook(input: $input) {
    configuration
    createdAt
    description
    endpoint
    environmentId
    eventLogTypes
  }
}
```

```json Variables
{
  "input": {
    "id": "value"
  }
}
```

```json Response
{
  "data": {
    "deleteOneHook": {
      "configuration": "value",
      "createdAt": "value",
      "description": "string",
      "endpoint": "string",
      "environmentId": "value",
      "eventLogTypes": [
        "ADDON_CREATED"
      ]
    }
  }
}
```


## Related topics

- [DeleteOneHookInput](https://docs.stigg.io/graphql-reference/types/DeleteOneHookInput.md)
- [deleteOneFeature](https://docs.stigg.io/graphql-reference/mutations/deleteOneFeature.md)
- [deleteOneIntegration](https://docs.stigg.io/graphql-reference/mutations/deleteOneIntegration.md)
- [deleteOnePrice](https://docs.stigg.io/graphql-reference/mutations/deleteOnePrice.md)
- [HookDeleteResponse](https://docs.stigg.io/graphql-reference/types/HookDeleteResponse.md)


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