:doc:`DataZone <../../datazone>` / Client / delete_project_membership

*************************
delete_project_membership
*************************



.. py:method:: DataZone.Client.delete_project_membership(**kwargs)

  

  Deletes project membership in Amazon DataZone.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteProjectMembership>`_  


  **Request Syntax**
  ::

    response = client.delete_project_membership(
        domainIdentifier='string',
        projectIdentifier='string',
        member={
            'userIdentifier': 'string',
            'groupIdentifier': 'string'
        }
    )
    
  :type domainIdentifier: string
  :param domainIdentifier: **[REQUIRED]** 

    The ID of the Amazon DataZone domain where project membership is deleted.

    

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

    The ID of the Amazon DataZone project the membership to which is deleted.

    

  
  :type member: dict
  :param member: **[REQUIRED]** 

    The project member whose project membership is deleted.

    .. note::    This is a Tagged Union structure. Only one of the     following top level keys can be set: ``userIdentifier``, ``groupIdentifier``. 

  
    - **userIdentifier** *(string) --* 

      The user ID of a project member.

      

    
    - **groupIdentifier** *(string) --* 

      The ID of the group of a project member.

      

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`DataZone.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`DataZone.Client.exceptions.AccessDeniedException`

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

  
  *   :py:class:`DataZone.Client.exceptions.ServiceQuotaExceededException`

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

  
  *   :py:class:`DataZone.Client.exceptions.UnauthorizedException`

  