dcloud ec2 instances remove-roleTake the instance role away; sessions already issued expire within the hour
IAM ec2:DisassociateInstanceRoleChanges stateAsks before it deletes (-y skips)
Synopsis
dcloud ec2 instances remove-role idArguments
<id>Requiredstring
Also accepted as
--id. Constraints: /^i-[0-9a-f]{6,32}$/
Example
dcloud ec2 instances remove-role idGenerated from the API description, the same one the API checks requests against and the CLI is built from.