Delete Business Admin
Deletes a business admin from the Punchh platform
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".
- Type: stringAcceptrequired
Advertises which content types the client is able to understand
- Type: stringContent
- Type requiredSet this header to application/json.
Body
application/json
- Type: stringbusiness
_admin _id ID of the business admin to be deleted
Responses
- application/json
- application/json
Request Example for delete/api2/dashboard/business_admins
curl https://SERVER_NAME_GOES_HERE.punchh.com/api2/dashboard/business_admins \
--request DELETE \
--header 'Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"business_admin_id": "30803"
}'
{}