Skip to main content

Create or update a rule

POST 

/api/v1/pms/feature-access

Upsert keyed by (featureKey, channelId, agentGroupId, userId) — resending the same combination flips its enabled rather than adding a row. Leave a scope field out to mean "any". A rule with no channel, agent group or user cannot be disabled: a feature with no rules is already denied, and storing a global off would shadow every narrower grant.

Request

Responses

OK