API referenceCustomer
Delete Customer
Delete a customer by ID. Fails if the customer has any bookings. App connections need the booking:write or inventory:write scope.
DEL
/customer/{id}curl -X DELETE "https://dash.lockii.app/api/v1/customer/{id}" \
-H "x-api-key: $LOCKII_API_KEY"Authorization
x-api-keystringheaderAPI key from Settings → Integrations → API.
AuthorizationstringheaderThe same API key, or an OAuth access token, sent as Authorization: Bearer.
api_keystringqueryAPI key query parameter.
Parameters
idstringpathrequiredCustomer ID
Response
application/json
JSON result for this operation.
object
{}