:doc:`ApiGatewayV2 <../../apigatewayv2>` / Client / delete_routing_rule

*******************
delete_routing_rule
*******************



.. py:method:: ApiGatewayV2.Client.delete_routing_rule(**kwargs)

  

  Deletes a routing rule.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoutingRule>`_  


  **Request Syntax**
  ::

    response = client.delete_routing_rule(
        DomainName='string',
        DomainNameId='string',
        RoutingRuleId='string'
    )
    
  :type DomainName: string
  :param DomainName: **[REQUIRED]** 

    The domain name.

    

  
  :type DomainNameId: string
  :param DomainNameId: 

    The domain name ID.

    

  
  :type RoutingRuleId: string
  :param RoutingRuleId: **[REQUIRED]** 

    The routing rule ID.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`ApiGatewayV2.Client.exceptions.NotFoundException`

  
  *   :py:class:`ApiGatewayV2.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`ApiGatewayV2.Client.exceptions.BadRequestException`

  