- Copy a User to Companies
Get location users
Remove the user from the location
Get effective permissions for the authenticated Business User
Getting a list of user roles
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
Removing a User from Companies
Deprecated. Get location users
Copy a User to Companies
Copies an active user and their permissions to multiple locations at once. If the user does not yet exist in a location, they will be added as an active user. If the user has already been invited to the location, only their permissions will be updated — however, they will still need to accept the invitation.
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/users/{user_id}/copy_to_companies
- Productionhttps://api.alteg.io/api/v1/locations/{location_id}/users/{user_id}/copy_to_companies
curl -i -X POST \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/123/users/123/copy_to_companies \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"user_company_links": [
{
"company_id": 123,
"user_permissions": [
{
"slug": "timetable_access",
"value": true
}
]
}
]
}'Response
{ "success": true, "data": null, "meta": {} }