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

# Unregister Webhook

> Unregister the webhook associated with an action, such as feed, social, scheduled, messages, or comments, by sending the action in the request body.

Unregister the webhook associated with the action.

## Header Parameters

**Authorization** `string` *required*

[API Key](https://www.ayrshare.com/docs/apis/overview.md#authorization) of the Primary Profile.

Format: `Authorization: Bearer API_KEY`
**Profile-Key** `string`

[Profile Key](https://www.ayrshare.com/docs/apis/overview.md#profile-key-format) of a User Profile.

Format: `Profile-Key: PROFILE_KEY`

## Body Parameters

**action** `string` *required*

Available actions: `feed`, `social`, `scheduled`, `batch`, `messages`, `mentions`, `comments`, `automations`, `accountActivity`, `demo`, `suspended`, `ads`

```json 200: Response theme={"system"}
{
  "status": "success",
  "action": "scheduled",
  "refId": "3dc079614bdc3f281d9" // User Profile Ref Id
}
```


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