Skip to main content
Deleting a webhook endpoint disables it in 0xkey and synchronizes the deletion to the delivery backend.
type
enum<string>
required
Enum options: ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT
timestampMs
string
required
Timestamp in milliseconds. Used to verify request liveness.
organizationId
string
required
Unique identifier for the organization.
parameters
object
required

The webhook endpoint delete intent.

activity
object
required
Completed activity containing deleteWebhookEndpointResult.
curl --request POST \
  --url https://api.0xkey.io/public/v1/submit/delete_webhook_endpoint \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header 'X-Stamp: <string> (see Authorizations)' \
  --data '{
    "type": "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT",
    "timestampMs": "1781250000000",
    "organizationId": "<organization-id>",
    "parameters": {
      "endpointId": "<endpoint-id>"
    }
  }'
{
  "activity": {
    "id": "<activity-id>",
    "status": "ACTIVITY_STATUS_COMPLETED",
    "type": "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT",
    "organizationId": "<organization-id>",
    "result": {
      "deleteWebhookEndpointResult": {
        "endpointId": "<endpoint-id>"
      }
    }
  }
}