User Management
Users
Locations
Add Locations to User
This API associates specific locations with a user, granting them access to manage those locations.
Behavior:
- Supports assigning multiple locations to a single user.
- Updates the user's permissions and access scope based on assigned locations.
post/users/locations/add
Request
- Base URLhttps://api.synup.com/api/v4
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Authorizationstring
API key for authentication
Request body
Example request
{
"input": {
"userId": "VXNlcjoxMjMyMDE=",
"locationIds": [
"TG9jYXRpb246MTE3NjE5NQ==",
"TG9jYXRpb246MTE0NzgxNA=="
]
}
}Response
Locations successfully added to user
Changes
No recorded changes to this operation across all 1 revision of this API.