:doc:`Panorama <../../panorama>` / Client / deregister_package_version

**************************
deregister_package_version
**************************



.. py:method:: Panorama.Client.deregister_package_version(**kwargs)

  

  Deregisters a package version.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DeregisterPackageVersion>`_  


  **Request Syntax**
  ::

    response = client.deregister_package_version(
        OwnerAccount='string',
        PackageId='string',
        PackageVersion='string',
        PatchVersion='string',
        UpdatedLatestPatchVersion='string'
    )
    
  :type OwnerAccount: string
  :param OwnerAccount: 

    An owner account.

    

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

    A package ID.

    

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

    A package version.

    

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

    A patch version.

    

  
  :type UpdatedLatestPatchVersion: string
  :param UpdatedLatestPatchVersion: 

    If the version was marked latest, the new version to maker as latest.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Panorama.Client.exceptions.ConflictException`

  
  *   :py:class:`Panorama.Client.exceptions.ValidationException`

  
  *   :py:class:`Panorama.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Panorama.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Panorama.Client.exceptions.InternalServerException`

  