sdm admin services unassign-all
NAME:sdm admin services unassign-all - detach a set of service accounts from all rolesUSAGE:sdm admin services unassign-all [command options] <service-name-1> [service-name-2 service-name-n...]OPTIONS:--template, -t display a JSON template--file value, -f value load service accounts 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:
{"serviceAccounts": [{"id": "a-0000000000000000","name": ""}]}
Example --filter-json
file:
[{"name":"S1"}]