:doc:`AmplifyBackend <../../amplifybackend>` / Client / remove_all_backends

*******************
remove_all_backends
*******************



.. py:method:: AmplifyBackend.Client.remove_all_backends(**kwargs)

  

  Removes all backend environments from your Amplify project.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends>`_  


  **Request Syntax**
  ::

    response = client.remove_all_backends(
        AppId='string',
        CleanAmplifyApp=True|False
    )
    
  :type AppId: string
  :param AppId: **[REQUIRED]** 

    The app ID.

    

  
  :type CleanAmplifyApp: boolean
  :param CleanAmplifyApp: 

    Cleans up the Amplify Console app if this value is set to true.

    

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

    
    ::

      {
          'AppId': 'string',
          'Error': 'string',
          'JobId': 'string',
          'Operation': 'string',
          'Status': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      200 response

      
      

      - **AppId** *(string) --* 

        The app ID.

        
      

      - **Error** *(string) --* 

        If the request fails, this error is returned.

        
      

      - **JobId** *(string) --* 

        The ID for the job.

        
      

      - **Operation** *(string) --* 

        The name of the operation.

        
      

      - **Status** *(string) --* 

        The current status of the request.

        
  
  **Exceptions**
  
  *   :py:class:`AmplifyBackend.Client.exceptions.NotFoundException`

  
  *   :py:class:`AmplifyBackend.Client.exceptions.GatewayTimeoutException`

  
  *   :py:class:`AmplifyBackend.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`AmplifyBackend.Client.exceptions.BadRequestException`

  