Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Delete Resource

Developer Preview

Deletes a resource. Deleting a resource cancels its schedule.

Authorization

This endpoint requires an authorization header - pass the access token from the OAuth installation flow.

Permissions

This endpoint requires the Manage Bookings permission scope.

DELETE

https://www.wixapis.com/bookings/v1/resources/{id}

Path Params

NAME
TYPE
DESCRIPTION
id
Required

string

ID of the resource to delete.

Response Object

Returns an empty object.

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

Delete Resource

Deletes a resource by id.

Request

curl

Copy Code
1curl -X DELETE \
2 'https://www.wixapis.com/bookings/v1/resources/4c0bae61-4599-4d02-a2f4-25e9222df416' \
3 -H "Content-Type: application/json" \
4 -H 'Authorization: <AUTH>'

Response

json

1
2{}