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

**************
delete_backend
**************



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

  

  Removes an existing environment from your Amplify project.

  

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


  **Request Syntax**
  ::

    response = client.delete_backend(
        AppId='string',
        BackendEnvironmentName='string'
    )
    
  :type AppId: string
  :param AppId: **[REQUIRED]** 

    The app ID.

    

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

    The name of the backend environment.

    

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

    
    ::

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

    

    - *(dict) --* 

      200 response

      
      

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

        The app ID.

        
      

      - **BackendEnvironmentName** *(string) --* 

        The name of the backend environment.

        
      

      - **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`

  