:doc:`Transfer <../../transfer>` / Client / delete_agreement

****************
delete_agreement
****************



.. py:method:: Transfer.Client.delete_agreement(**kwargs)

  

  Delete the agreement that's specified in the provided ``AgreementId``.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteAgreement>`_  


  **Request Syntax**
  ::

    response = client.delete_agreement(
        AgreementId='string',
        ServerId='string'
    )
    
  :type AgreementId: string
  :param AgreementId: **[REQUIRED]** 

    A unique identifier for the agreement. This identifier is returned when you create an agreement.

    

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

    The server identifier associated with the agreement that you are deleting.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Transfer.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Transfer.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Transfer.Client.exceptions.InternalServiceError`

  
  *   :py:class:`Transfer.Client.exceptions.ServiceUnavailableException`

  