cURL
curl --request POST \ --url https://api.voltview.co.uk/v1/createUserSiteAssignments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "userId": "<string>", "siteId": "<string>" } '
{ "success": true, "message": "<string>" }
Assign a user to a specific site. Requires admin permissions.
Supabase Auth JWT access token obtained after signing in via magic link or OTP
ID of the user to assign
ID of the site to assign the user to
User-site assignment created successfully