API referenceCustomer
Block Customer
Block a customer with a reason. App connections need the booking:write or inventory:write scope.
POST
/customer/{id}/blockcurl -X POST "https://dash.lockii.app/api/v1/customer/{id}/block" \
-H "x-api-key: $LOCKII_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "string"
}'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
Body
application/json
reasonstringrequiredReason for blocking the customer
Response
application/json
JSON result for this operation.
object
{}