**To set mailbox permissions**

This example sets full access permissions for the specified grantee (user or group). The entity represents the owner of the mailbox.

Command::

  aws workmail put-mailbox-permissions --organization-id m-d281d0a2fd824be5b6cd3d3ce909fd27 --entity-id S-1-1-11-1111111111-2222222222-3333333333-3333 --grantee-id S-1-1-11-1122222222-2222233333-3333334444-4444 --permission-values FULL_ACCESS

Output::

  None