:doc:`MultipartyApproval <../../mpa>` / Client / start_active_approval_team_deletion

***********************************
start_active_approval_team_deletion
***********************************



.. py:method:: MultipartyApproval.Client.start_active_approval_team_deletion(**kwargs)

  

  Starts the deletion process for an active approval team.

   

  .. note::

    

    **Deletions require team approval**

     

    Requests to delete an active team must be approved by the team.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/StartActiveApprovalTeamDeletion>`_  


  **Request Syntax**
  ::

    response = client.start_active_approval_team_deletion(
        PendingWindowDays=123,
        Arn='string'
    )
    
  :type PendingWindowDays: integer
  :param PendingWindowDays: 

    Number of days between when the team approves the delete request and when the team is deleted.

    

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

    Amazon Resource Name (ARN) for the team.

    

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

    
    ::

      {
          'DeletionCompletionTime': datetime(2015, 1, 1),
          'DeletionStartTime': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **DeletionCompletionTime** *(datetime) --* 

        Timestamp when the deletion process is scheduled to complete.

        
      

      - **DeletionStartTime** *(datetime) --* 

        Timestamp when the deletion process was initiated.

        
  
  **Exceptions**
  
  *   :py:class:`MultipartyApproval.Client.exceptions.AccessDeniedException`

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

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

  
  *   :py:class:`MultipartyApproval.Client.exceptions.ThrottlingException`

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

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

  