tenants
Set module entitlements
Replaces the tenant's HALO-Lego module entitlements — which product surfaces this tenant has BOUGHT (V3-02). Values are group slugs prefixed module_ (module_work, module_money); the prefix is required, because after these are unioned into the accessor's group slugs it is the only thing separating them from identity groups like contractor. A REPLACE, not a patch: send the full desired set. System-admin only — a tenant_admin passes the route's manage check but must not be able to grant their own tenant a module, which is writing their own invoice. Every leaf's entitlement gate fails CLOSED, so removing a module closes those surfaces on the next resolve.
put/tenants/{id}/modules
Request
- Base URL: https://api.instruxi.dev/api/v1/enforcer
- URL: https://api.instruxi.dev/api/v1/enforcer/tenants/{id}/modules
- Auth: one of:
- API key in header Authorization
- API key in header X-API-Key
Path parameters
idstring required
id
Request body
Response
OK
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.