Skip to main content
DELETE
/
hooks
/
{hook_id}
Delete Hook
curl --request DELETE \
  --url https://api.xplenty.com/{account_id}/api/hooks/{hook_id} \
  --header 'Accept: <accept>' \
  --header 'Authorization: Basic <encoded-value>'

Authorizations

Authorization
string
header
required

Enter your API key as the username. Leave the password field blank. Example: curl -u YOUR_API_KEY: https://api.xplenty.com/...

Headers

Accept
string
default:application/vnd.xplenty+json; version=2
required

API version header — required on all requests

Path Parameters

hook_id
integer
required

Response

204

Hook deleted

Last modified on April 20, 2026