DELETE
/
hook
/
webhook
curl --request DELETE \
  --url https://api.ayrshare.com/api/hook/webhook \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "action": "<string>"
}'
{
  "status": "success",
  "action": "scheduled",
  "refId": "3dc079614bdc3f281d9" // User Profile Ref Id
}
Available on Premium, Business, Enterprise plans.

Unregister the webhook associated with the action.

Header Parameters

Authorization
string
required
API Key of the Primary Profile.

Format: Authorization: Bearer API_KEY
Profile-Key
string
Profile Key of a User Profile.

Format: Profile-Key: PROFILE_KEY

Body Parameters

action
string
required

Available actions: feed, social, scheduled, batch, messages

{
  "status": "success",
  "action": "scheduled",
  "refId": "3dc079614bdc3f281d9" // User Profile Ref Id
}