:doc:`ServiceCatalog <../../servicecatalog>` / Client / delete_provisioning_artifact

****************************
delete_provisioning_artifact
****************************



.. py:method:: ServiceCatalog.Client.delete_provisioning_artifact(**kwargs)

  

  Deletes the specified provisioning artifact (also known as a version) for the specified product.

   

  You cannot delete a provisioning artifact associated with a product that was shared with you. You cannot delete the last provisioning artifact for a product, because a product must have at least one provisioning artifact.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifact>`_  


  **Request Syntax**
  ::

    response = client.delete_provisioning_artifact(
        AcceptLanguage='string',
        ProductId='string',
        ProvisioningArtifactId='string'
    )
    
  :type AcceptLanguage: string
  :param AcceptLanguage: 

    The language code.

     

    
    * ``jp`` - Japanese
     
    * ``zh`` - Chinese
    

    

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

    The product identifier.

    

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

    The identifier of the provisioning artifact.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`ServiceCatalog.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ServiceCatalog.Client.exceptions.ResourceInUseException`

  
  *   :py:class:`ServiceCatalog.Client.exceptions.InvalidParametersException`

  