:doc:`APIGateway <../../apigateway>` / Client / delete_base_path_mapping

************************
delete_base_path_mapping
************************



.. py:method:: APIGateway.Client.delete_base_path_mapping(**kwargs)

  

  Deletes the BasePathMapping resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteBasePathMapping>`_  


  **Request Syntax**
  ::

    response = client.delete_base_path_mapping(
        domainName='string',
        domainNameId='string',
        basePath='string'
    )
    
  :type domainName: string
  :param domainName: **[REQUIRED]** 

    The domain name of the BasePathMapping resource to delete.

    

  
  :type domainNameId: string
  :param domainNameId: 

    The identifier for the domain name resource. Supported only for private custom domain names.

    

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

    The base path name of the BasePathMapping resource to delete.

     

    To specify an empty base path, set this parameter to ``'(none)'``.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`APIGateway.Client.exceptions.BadRequestException`

  
  *   :py:class:`APIGateway.Client.exceptions.ConflictException`

  
  *   :py:class:`APIGateway.Client.exceptions.NotFoundException`

  
  *   :py:class:`APIGateway.Client.exceptions.UnauthorizedException`

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

  