@resources.command(<EOL>use_fields_as_options=ACTOR_FIELDS+RESOURCE_FIELDS+['<STR_LIT:type>'])<EOL><INDENT>@click.option('<STR_LIT>', default=False,<EOL>show_default=True, type=bool, is_flag=True,<EOL>help='<STR_LIT>'<EOL>'<STR_LIT>')<EOL>def revoke(self, fail_on_found=False, **kwargs):<DEDENT>
return self.role_write(fail_on_found=fail_on_found,<EOL>disassociate=True, **kwargs)<EOL>
Remove a user or a team from a role. Required information:
        1) Type of the role
        2) Resource of the role, inventory, credential, or any other
        3) A user or a team to add to the role

        =====API DOCS=====
        Remove a user or a team from a role. Required information:
        * Type of the role.
        * Resource of the role, inventory, credential, or any other.
        * A user or a team to add to the role.

        :param fail_on_found: Flag that if set, the operation fails if a user/team dose not have the role.
        :type fail_on_found: bool
        :param `**kwargs`: The user to be disassociated and the role to disassociate.
        :returns: parsed JSON of role revoke.
        :rtype: dict

        =====API DOCS=====