Hello everybody! I know that traccar can link a notification to all devices in an account, now can I link a notification to all users? Imagine me needing to delete notifications to recreate, depending on the number of users, it would take days to link notifications from one to a user. If there was a way to link to all users that would be great, if there is. If anyone can give a tip and if it is possible to do it, I would greatly appreciate the information.
You can use API to do a bulk linking.
Could you tell me what would be the ideal endpoint for this? I looked at the documentation but didn't find anything specific.
POST /api/permissions/bulk
With something like this in the payload:
[
{userId: 1, notificationId: 1},
{userId: 2, notificationId: 1},
{userId: 3, notificationId: 1}
]
Thanks for that! I'll try to do something in PHP.
Hello everybody! I know that traccar can link a notification to all devices in an account, now can I link a notification to all users? Imagine me needing to delete notifications to recreate, depending on the number of users, it would take days to link notifications from one to a user. If there was a way to link to all users that would be great, if there is. If anyone can give a tip and if it is possible to do it, I would greatly appreciate the information.