Delete Franchisee
Allows a business admin user to delete franchisees for accessible locations
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".
Body
application/json
- Type: stringid
ID of the franchisee that will be deleted
Responses
- application/json
- application/json
Request Example for delete/api2/dashboard/franchisees
curl https://SERVER_NAME_GOES_HERE.punchh.com/api2/dashboard/franchisees \
--request DELETE \
--header 'Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE' \
--header 'Content-Type: application/json' \
--data '{
"id": "3"
}'
{}