Session API
Set User Permissions
POST
/
setPermissions
Parameters
Higher value = higher priority. Users with a higher priority will preempt the control of lower priority users.
Number of milliseconds until a user is considered “idle”. Once a user is considered idle, they no longer preempt lower priority users until they interact with the virtual browser again.
If control_disabled = true, all control input (mouse movements, keyboard presses) will be ignored. Note that disabling control does not restrict access to any APIs that require admin tokens.
The request body mirrors the function signature of setPermissions(userId, permissions) from the JavaScript SDK.