# Users & Permissions

Business Users of a Location, their roles, permissions and invitations

 - [GET /locations/{location_id}/users](https://developer.alteg.io/en/b2b-v1/openapi/users-and-permissions/get_location_users.md): The method allows you to get users of the location. location User object: | Attribute | Type | Description | | --- | --- | --- | | id | number | User ID | | name | string | User name | | phone | stri
 - [DELETE /locations/{location_id}/users/{user_id}](https://developer.alteg.io/en/b2b-v1/openapi/users-and-permissions/remove_user_from_location.md)
 - [GET /user/permissions/{location_id}](https://developer.alteg.io/en/b2b-v1/openapi/users-and-permissions/get_permission_list.md): Returns the authenticated Business User's effective permission groups for this Location. Use the same User Token as the request returning 403. Optionally pass `group_permissions[]` to limit the return
 - [GET /locations/{location_id}/users/roles](https://developer.alteg.io/en/b2b-v1/openapi/users-and-permissions/list_roles.md): Returns a list of user roles along with permissions for each role.
 - [GET /locations/{location_id}/users/{user_id}/roles](https://developer.alteg.io/en/b2b-v1/openapi/users-and-permissions/get_user_roles.md): Returns a list of user roles along with permissions for each role. Allows to get the editable status for each permission of a location user (`is_editable` field). This status depends on the current us
 - [GET /locations/{location_id}/users/{user_id}/permissions](https://developer.alteg.io/en/b2b-v1/openapi/users-and-permissions/get_user_permissions.md): Returns the role and configured permission values for the specified Business User at this Location. The caller needs permission to view Location users. The user must be linked to the Location; otherwi
 - [PUT /locations/{location_id}/users/{user_id}/permissions](https://developer.alteg.io/en/b2b-v1/openapi/users-and-permissions/update_user_permissions.md): Updates the role and permissions of the user, as well as the team member who is attached to this user.
 - [POST /user/invite/{location_id}](https://developer.alteg.io/en/b2b-v1/openapi/users-and-permissions/create_user_invitation.md): An invitation to manage a location is sent via email or phone as a link. By following the link and completing registration, the user gains access to manage the location according to the permissions as
 - [POST /locations/{location_id}/users/{user_id}/copy_to_companies](https://developer.alteg.io/en/b2b-v1/openapi/users-and-permissions/copy_user_permissions_to_locations.md): 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 t
 - [POST /locations/{location_id}/users/{user_id}/remove_from_companies](https://developer.alteg.io/en/b2b-v1/openapi/users-and-permissions/remove_user_from_locations.md): Removes an active user from multiple companies at once.
 - [GET /company_users/{location_id}](https://developer.alteg.io/en/b2b-v1/openapi/users-and-permissions/deprecated_get_location_users.md): location User object
