text: SET AUTOCOMMIT = 0;
  
  START TRANSACTION;
  
  -- My Web App
  DELETE FROM client_grant_type WHERE owner_id = (SELECT id from client_details where client_id = 'my_web_app');
  DELETE FROM client_scope WHERE owner_id =  (SELECT id from client_details where client_id = 'my_web_app');
  DELETE FROM client_details WHERE client_id = 'my_web_app';
  
  COMMIT;
  
  SET AUTOCOMMIT = 1;
  