Skip to main content
This endpoint is deprecated, please use addRoles and removeRoles instead

Parameters

integer
default:0
Higher value = higher priority. Users with a higher priority will preempt the control of lower priority users.
integer
default:0
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.
boolean
default:"{control_disable_default}"
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.