wp super-admin <command>

Lists, adds, or removes super admin users on a multisite installation.

In this article


# List user with super-admin capabilities
$ wp super-admin list

# Grant super-admin privileges to the user.
$ wp super-admin add superadmin2
Success: Granted super-admin capabilities.

# Revoke super-admin privileges to the user.
$ wp super-admin remove superadmin2
Success: Revoked super-admin capabilities.


wp super-admin add

Grants super admin privileges to one or more users.

wp super-admin list

Lists users with super admin capabilities.

wp super-admin remove

Removes super admin privileges from one or more users.

Command documentation is regenerated at every release. To add or update an example, please submit a pull request against the corresponding part of the codebase.