:doc:`Greengrass <../../greengrass>` / Client / disassociate_service_role_from_account

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



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

  Disassociates the service role from your account. Without a service role, deployments will not work.

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DisassociateServiceRoleFromAccount>`_  


  **Request Syntax**
  ::

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

    
    ::

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

    

    - *(dict) --* success
      

      - **DisassociatedAt** *(string) --* The time when the service role was disassociated from the account.
  
  **Exceptions**
  
  *   :py:class:`Greengrass.Client.exceptions.InternalServerErrorException`

  