Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

remove_resource_permission

remove_resource_permission(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.remove_resource_permission(
    AuthenticationToken='string',
    ResourceId='string',
    PrincipalId='string',
    PrincipalType='USER'|'GROUP'|'INVITE'|'ANONYMOUS'|'ORGANIZATION'
)
Parameters
  • AuthenticationToken (string) -- Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • ResourceId (string) --

    [REQUIRED]

    The ID of the resource.

  • PrincipalId (string) --

    [REQUIRED]

    The principal ID of the resource.

  • PrincipalType (string) -- The principal type of the resource.
Returns

None

Exceptions

  • WorkDocs.Client.exceptions.UnauthorizedOperationException
  • WorkDocs.Client.exceptions.UnauthorizedResourceAccessException
  • WorkDocs.Client.exceptions.FailedDependencyException
  • WorkDocs.Client.exceptions.ServiceUnavailableException