Skip to main content

Set user permissions

POST/setPermissions

cURL#

curl -X POST -H 'Authorization: Bearer <your-admin-token>' \    <embed_url>/setPermissions/<user_id> \    -d '["<user_id>", {"control_disabled":true}]'

The request body mirrors the function signature of setPermissions(userId, permissions) from the iframe API, which is documented here.