Zum Hauptinhalt springen

Update Access Right

PUT 

/v1/access-rights/:folder_id/:resource_type/:access_right_id

Turn one existing grant from allow to deny, or back.

The sharing dialog's edit: the grant keeps its id, its principal, its resource type and its permission; only accessType changes. A deny beats every allow, an inherited one included. To grant a different permission, grant it; to take a grant away, revoke it.

Only an account admin or the folder's owner may change a grant. A grant that is not on this folder and resource type answers 404.

Request​

Responses​

Successful Response