Delete Business Admin

​

Deletes a business admin from the Punchh platform

Headers

  • 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".

  • Advertises which content types the client is able to understand

  • Set this header to application/json.

Body

application/json
  • 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"
}'
{}