Skip to content
MothershipDevelopers

API referenceWebhooks

Remove a webhook configuration

Removes the webhook configuration with the given webhookConfigId.

DELETE/webhookConfigs/{webhookConfigId}
Environment
https://sandbox.api.mothership.com/beta
curl --request DELETE \
  --url 'https://sandbox.api.mothership.com/beta/webhookConfigs/48asjgaoi33nkl4t3lae' \
  --header "Authorization: Bearer $MOTHERSHIP_API_TOKEN" \
  --header 'Accept: application/json'
Reads your token from $MOTHERSHIP_API_TOKEN
Response
{
: {}
}

Hover a key to see what it means. Click it to jump to the field.

After a removal, Mothership sends the configuration no new events. Deliveries already queued, and their retries, still go out.

Authorization: Bearer <token>

Your sandbox API token. See Authentication.

  • webhookConfigIdstringRequired

    ID of the webhook config to remove

    • dataobject

What's next