Get Admin Roles List
Returns the list of roles created in a business
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
- application/json
Request Example for get/api2/dashboard/roles
curl https://SERVER_NAME_GOES_HERE.punchh.com/api2/dashboard/roles \
--header 'Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE'
[
{
"role_id": 214,
"name": "Business Owner"
},
{
"role_id": 215,
"name": "Business Manager"
},
{
"role_id": 216,
"name": "Site Admin"
},
{
"role_id": 511,
"name": "Limited Site Admin"
}
]