MySQL 9.5 Release Notes
Revoke specified privileges for all users except those specified with the exclude_users argument.
in_schema_name: (CHAR(255)) Schema name on which the privileges are revoked.in_privileges: (JSON) Privileges to revoke. Privileges are case-insensitive.in_exclude_users: (JSON) Do not exclude privileges from these users. The host part of the user is case-insensitive.