CmdID

CmdID / aws / aws workdocs

aws workdocs remove-resource-permission

Removes the permission for the specified principal from the specified resource. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To remove permissions from a resource

The following remove-resource-permission example removes permissions from the resource for the specified principal.

aws workdocs remove-resource-permission --resource-id 1ece93e5fe75315c7407c4967918b4fd9da87ddb2a588e67b7fdaf4a98fde678 --principal-id anonymousIdentify
--resource-idThe ID of the resource.
--principal-idThe principal ID of the resource.

This command produces no output.

Options

4 in the AWS CLI reference
--authentication-tokenAmazon WorkDocs authentication token.
--principal-idThe principal ID of the resource.
--principal-typeThe principal type of the resource.
--resource-idThe ID of the resource.