:doc:`WorkDocs <../../workdocs>` / Client / remove_resource_permission

**************************
remove_resource_permission
**************************



.. py:method:: WorkDocs.Client.remove_resource_permission(**kwargs)

  

  Removes the permission for the specified principal from the specified resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveResourcePermission>`_  


  **Request Syntax**
  ::

    response = client.remove_resource_permission(
        AuthenticationToken='string',
        ResourceId='string',
        PrincipalId='string',
        PrincipalType='USER'|'GROUP'|'INVITE'|'ANONYMOUS'|'ORGANIZATION'
    )
    
  :type AuthenticationToken: string
  :param AuthenticationToken: 

    Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

    

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

    The ID of the resource.

    

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

    The principal ID of the resource.

    

  
  :type PrincipalType: string
  :param PrincipalType: 

    The principal type of the resource.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`WorkDocs.Client.exceptions.UnauthorizedOperationException`

  
  *   :py:class:`WorkDocs.Client.exceptions.UnauthorizedResourceAccessException`

  
  *   :py:class:`WorkDocs.Client.exceptions.FailedDependencyException`

  
  *   :py:class:`WorkDocs.Client.exceptions.ServiceUnavailableException`

  