sdm admin users unassign-all

Last modified on August 31, 2022

NAME:
   sdm admin users unassign-all - detach a set of users from all roles

USAGE:
   sdm admin users unassign-all [command options] <user-email-1> [user-email-2 user-email-n...]

OPTIONS:
   --template, -t          display a JSON template
   --file value, -f value  load role assignments from JSON file
   --stdin, -i             load from stdin
   --filter value          filter e.g. 'field:name tag:key=value ...'
   --filter-json value     path to JSON based filter

Additional Information

The --template command produces example --file or --stdin input:

{
	"users": [
		{
			"id": "a-0000000000000000",
			"email": ""
		}
	]
}

Example --filter-json file:

[
    {
        "lastName":"S1"
    }
]

For more information on the use of filters in the CLI, see the Filters documentation.

Top