DELETE

Delete Policy


Permanently deletes a policy.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Events - all permissions
Manage Policies
Learn more about app permissions.
Endpoint
DELETE
https://www.wixapis.com/events-policies/v2/policies/{policyId}

Path Params
policyIdstringRequired

ID of the policy to delete.

Response Object
Returns an empty object.
Delete Policy
Request
cURL
curl -X DELETE 'https://www.wixapis.com/events/v2/policies/7243931d-74e4-4d6a-91f0-4835fa79161e' \ -H 'Authorization: <AUTH TOKEN>' \
Response
JSON
{}
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?