After the recent update OAuth scopes have changed. The information in the guide is now outdated.
If I set all 4 permissions in the Devices category to write this is still not enough. Container crashes with an error:
Status: 403, Message: "calling actor does not have enough permissions to perform this function".
I guess I need to grant some other permissions outside the Devices block, but the guide doesn't say anything about that.