def delete_cluster_role_with_http_info(self, name, **kwargs):
all_params = ['<STR_LIT:name>', '<STR_LIT>', '<STR_LIT:body>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']<EOL>all_params.append('<STR_LIT>')<EOL>all_params.append('<STR_LIT>')<EOL>all_params.append('<STR_LIT>')<EOL>all_params.append('<STR_LIT>')<EOL>params = locals()<EOL>for key, val in iteritems(params['<STR_LIT>']):<EOL><INDENT>if key not in all_params:<EOL><INDENT>raise TypeError(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>" % key<EOL>)<EOL><DEDENT>params[key] = val<EOL><DEDENT>del params['<STR_LIT>']<EOL>if ('<STR_LIT:name>' not in params) or (params['<STR_LIT:name>'] is None):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>collection_formats = {}<EOL>path_params = {}<EOL>if '<STR_LIT:name>' in params:<EOL><INDENT>path_params['<STR_LIT:name>'] = params['<STR_LIT:name>']<EOL><DEDENT>query_params = []<EOL>if '<STR_LIT>' in params:<EOL><INDENT>query_params.append(('<STR_LIT>', params['<STR_LIT>']))<EOL><DEDENT>if '<STR_LIT>' in params:<EOL><INDENT>query_params.append(('<STR_LIT>', params['<STR_LIT>']))<EOL><DEDENT>if '<STR_LIT>' in params:<EOL><INDENT>query_params.append(('<STR_LIT>', params['<STR_LIT>']))<EOL><DEDENT>if '<STR_LIT>' in params:<EOL><INDENT>query_params.append(('<STR_LIT>', params['<STR_LIT>']))<EOL><DEDENT>if '<STR_LIT>' in params:<EOL><INDENT>query_params.append(('<STR_LIT>', params['<STR_LIT>']))<EOL><DEDENT>header_params = {}<EOL>form_params = []<EOL>local_var_files = {}<EOL>body_params = None<EOL>if '<STR_LIT:body>' in params:<EOL><INDENT>body_params = params['<STR_LIT:body>']<EOL><DEDENT>header_params['<STR_LIT>'] = self.api_client.select_header_accept(['<STR_LIT:application/json>', '<STR_LIT>', '<STR_LIT>'])<EOL>header_params['<STR_LIT:Content-Type>'] = self.api_client.select_header_content_type(['<STR_LIT>'])<EOL>auth_settings = ['<STR_LIT>']<EOL>return self.api_client.call_api('<STR_LIT>', '<STR_LIT>',<EOL>path_params,<EOL>query_params,<EOL>header_params,<EOL>body=body_params,<EOL>post_params=form_params,<EOL>files=local_var_files,<EOL>response_type='<STR_LIT>',<EOL>auth_settings=auth_settings,<EOL>async_req=params.get('<STR_LIT>'),<EOL>_return_http_data_only=params.get('<STR_LIT>'),<EOL>_preload_content=params.get('<STR_LIT>', True),<EOL>_request_timeout=params.get('<STR_LIT>'),<EOL>collection_formats=collection_formats)<EOL>
delete a ClusterRole
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_cluster_role_with_http_info(name, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str name: name of the ClusterRole (required)
:param str pretty: If 'true', then the output is pretty printed.
:param V1DeleteOptions body:
:param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
:param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
:param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
:param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
:return: V1Status
         If the method is called asynchronously,
         returns the request thread.