wp super-admin <command>

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

In this article

Examples

# List user with super-admin capabilities.
$ wp super-admin list
supervisor
administrator

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

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

Subcommands

NameDescription
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.