1. Session API
  2. Set User Permission
POST
/setPermissions

Set user permissions

cURL


            
              
              
            
            
          curl -H 'Authorization: Bearer <your-api-key>' \
    https://engine.hyperbeam.com/v0/vm

The request body mirrors the function signature of setPermissions(userId, permissions) from the web SDK