:doc:`GreengrassV2 <../../greengrassv2>` / Client / disassociate_service_role_from_account

**************************************
disassociate_service_role_from_account
**************************************



.. py:method:: GreengrassV2.Client.disassociate_service_role_from_account()

  

  Disassociates the Greengrass service role from IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region. Without a service role, IoT Greengrass can't verify the identity of client devices or manage core device connectivity information. For more information, see `Greengrass service role <https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-service-role.html>`__ in the *IoT Greengrass Version 2 Developer Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DisassociateServiceRoleFromAccount>`_  


  **Request Syntax**
  ::

    response = client.disassociate_service_role_from_account()
    
    
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'disassociatedAt': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **disassociatedAt** *(string) --* 

        The time when the service role was disassociated from IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region.

        
  
  **Exceptions**
  
  *   :py:class:`GreengrassV2.Client.exceptions.InternalServerException`

  