Narrow or widen what an installation may read
Changes the grant without moving the version. The list is a full replacement rather than an addition, so omitting it is refused instead of read as an empty one. Narrowing bumps the grant epoch exactly as widening does, because that is what retires cached descriptors.
Authorizations
Bearer token authentication
Path Parameters
The installation, which is always read within the authenticated company.
Body
Changes the grant without moving the version.
A full replacement rather than an addition, so an omitted or malformed list is refused rather than read as an empty one.
Response
The installation and the company's new grant epoch
A company's adoption of a published widget package version. granted is the merchant's decision and is stored apart from the manifest's own declaration, so narrowing a grant never edits an artifact: the effective set is the intersection, computed per request, which is why a revocation takes effect on the next call rather than at the next publish.
The company's grant epoch after this write. Descriptors are cached by (version, company, epoch), so a bumped epoch is what retires every cached descriptor at once.