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

****************************
delete_documentation_version
****************************



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

  

  Deletes a documentation version.

  

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


  **Request Syntax**
  ::

    response = client.delete_documentation_version(
        restApiId='string',
        documentationVersion='string'
    )
    
  :type restApiId: string
  :param restApiId: **[REQUIRED]** 

    The string identifier of the associated RestApi.

    

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

    The version identifier of a to-be-deleted documentation snapshot.

    

  
  
  :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`

  