DELETE

Delete Rule


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Deletes a rule.

To delete mutiple rules at once, use Bulk Delete Rules.

Authentication

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

Permissions
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
DELETE
https://www.wixapis.com/service-fees/v1/rules/{ruleId}

Path Params
ruleIdstringRequired

ID of the rule to delete.

Response Object
Returns an empty object.
Delete a rule
Request
cURL
curl -X DELETE https://www.wixapis.com/service-fees-rules/v1/rules/4aea505e-ac49-4f72-b4f1-b07c064a20cd \ -H 'Authorization: <AUTH>'
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?