Deactivate a User
Deactivates a user in the Punchh system to disallow check-ins, redemptions, emails etc.
Query Parameters
- Type: stringuser
_id User ID of the guest in the Punchh system that will be deactivated. You can get this value from the User object.
Headers
- Type: stringAuthorizationrequired
Bearer token for admin authorization, who is making a call on behalf of the customer. Send the API key in the following format: "Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE".
Responses
- application/json
Request Example for delete/api2/dashboard/users/deactivate
curl 'https://SERVER_NAME_GOES_HERE.punchh.com/api2/dashboard/users/deactivate?user_id=' \
--request DELETE \
--header 'Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE'
{}