Locations
Manage Users
We have dedicated endpoints to help you manage which users should have access to which locations. Keep in mind that the owner
and developer
roles will always have access to all locations. Only admin
and user
roles can be scoped to specific locations.
Add Users To Location
Add Many Users
You'll be able to add many users at once by providing an array of user IDs in the request body. You can also add an overwrite
property to ensure that any user not on this list will be deleted.
Keep in mind that the owner and developer role users will still be injected to the list even if they are not included in the users
list.
Only a user who has access to a location is able to add users to that location.
Add One User
While the previous API would work for all situations, we're also adding a more syntactically correct API route for adding a single user for those developer who prefer it done this way.
Delete Users
Delete Many Users
You'll be able to delete many users at once by providing an array of user IDs in the request body.
Delete One User
You can delete a single user from a location using just the URL scheme with the location ID and user UD.