:doc:`QuickSight <../../quicksight>` / Client / delete_folder_membership

************************
delete_folder_membership
************************



.. py:method:: QuickSight.Client.delete_folder_membership(**kwargs)

  

  Removes an asset, such as a dashboard, analysis, or dataset, from a folder.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteFolderMembership>`_  


  **Request Syntax**
  ::

    response = client.delete_folder_membership(
        AwsAccountId='string',
        FolderId='string',
        MemberId='string',
        MemberType='DASHBOARD'|'ANALYSIS'|'DATASET'|'DATASOURCE'|'TOPIC'
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

    The ID for the Amazon Web Services account that contains the folder.

    

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

    The Folder ID.

    

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

    The ID of the asset that you want to delete.

    

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

    The member type of the asset that you want to delete from a folder.

    

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

    
    ::

      {
          'Status': 123,
          'RequestId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Status** *(integer) --* 

        The HTTP status of the request.

        
      

      - **RequestId** *(string) --* 

        The Amazon Web Services request ID for this operation.

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

  
  *   :py:class:`QuickSight.Client.exceptions.InvalidParameterValueException`

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

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

  
  *   :py:class:`QuickSight.Client.exceptions.UnsupportedUserEditionException`

  
  *   :py:class:`QuickSight.Client.exceptions.InternalFailureException`

  