• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

You are viewing an old version of the API
Delete webhook subscription BETA

DELETE /v2/webhooks/subscriptions/{subscription_id}

Deletes a webhook subscription.

Name Description
subscription_id
string

Required

[REQUIRED] The ID of the Subscription to delete.

Response Fields

Name Description
errors
Error [ ]

Information on errors encountered during the request.

Examples

You are viewing an old version of the API
DELETE /v2/webhooks/subscriptions/{subscription_id}
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
  • Node.js
curl https://connect.squareup.com/v2/webhooks/subscriptions/subscription_id0 \
  -X DELETE \
  -H 'Square-Version: 2022-11-16' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'
Response JSON
{}