:doc:`Cloud9 <../../cloud9>` / Client / delete_environment_membership

*****************************
delete_environment_membership
*****************************



.. py:method:: Cloud9.Client.delete_environment_membership(**kwargs)

  

  Deletes an environment member from a development environment.

   

  .. warning::

     

    Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. `Learn more" <http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/>`__

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DeleteEnvironmentMembership>`_  


  **Request Syntax**
  ::

    response = client.delete_environment_membership(
        environmentId='string',
        userArn='string'
    )
    
  :type environmentId: string
  :param environmentId: **[REQUIRED]** 

    The ID of the environment to delete the environment member from.

    

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

    The Amazon Resource Name (ARN) of the environment member to delete from the environment.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Cloud9.Client.exceptions.BadRequestException`

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

  
  *   :py:class:`Cloud9.Client.exceptions.NotFoundException`

  
  *   :py:class:`Cloud9.Client.exceptions.ForbiddenException`

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

  
  *   :py:class:`Cloud9.Client.exceptions.LimitExceededException`

  
  *   :py:class:`Cloud9.Client.exceptions.InternalServerErrorException`

  

  **Examples**

  
  ::

    response = client.delete_environment_membership(
        environmentId='8d9967e2f0624182b74e7690ad69ebEX',
        userArn='arn:aws:iam::123456789012:user/AnotherDemoUser',
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'ResponseMetadata': {
            '...': '...',
        },
    }

  