- Getting a list of user roles
Get location users
Remove the user from the location
Get effective permissions for the authenticated Business User
Getting a list of user roles in the context of a location user
Getting permission values and user role
Updating permission values and user role
Create and Send an Invitation
Copy a User to Companies
Removing a User from Companies
Deprecated. Get location users
Getting a list of user ro...
Returns a list of user roles along with permissions for each role.
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/users/roles
- Productionhttps://api.alteg.io/api/v1/locations/{location_id}/users/roles
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/123/users/roles?include=user_permissions' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json'OK
Example:
[ { "slug": "staff_member", "title": "team member", "description": "Provides services", "weight": 1, "user_permissions": [ … ] } ]
Response
{ "success": true, "data": [ { … } ], "meta": {} }