File: //usr/local/aws-cli/v2/current/current/dist/awscli/examples/iot/delete-role-alias.rst
**To delete an AWS IoT role alias**
The following ``delete-role-alias`` example deletes an AWS IoT role alias named ``LightBulbRole``. ::
aws iot delete-role-alias \
--role-alias LightBulbRole
This command produces no output.
For more information, see `Authorizing Direct Calls to AWS Services <https://docs.aws.amazon.com/iot/latest/developerguide/authorizing-direct-aws.html>`__ in the *AWS IoT Developer Guide*.