Sharing

revoke

Take one grant back, by the ID the grants listing gives it

View as Markdown

Changes something. Undoing it takes another act.

Take one grant back, by the ID the grants listing gives it.

Expects nothing, for the reason grant expects nothing. It names one live grant on the item by its grt_… ID, which the grants tool answers, and ends it. A grant ID that is not live on that item is not_found. Revoking a public grant makes the item private again and changes nothing else: not its ID, and not its link. A grant that reaches the item from a folder above is not revoked here — it is revoked on the folder that carries it.

This change takes a key you choose, fresh for this change. If its result never reaches you, call again with the same key and the same arguments, or ask the status tool with that key: the same key and the same input is one change, made once.

Arguments

ArgumentTypeRequiredMeaning
idtextyesThe folder or file the grant is on
granttextyesThe grant to take back, as the grants listing names it
keytextyesA key you choose for this change, fresh each time; repeat it to settle a lost result

On the command line

flie agent revoke ID --grant GRANT_ID [--key OPERATION_KEY]
flie --json agent revoke ID --grant grt_…   # take one grant back, by the ID grants gives it

On this page