Set Enforcement

Flip a topic's emit-enforcement mode (admin-only). enforced makes a would-deny emit on that topic actually 403 (forbidden_emit); shadow rolls it back to record-only. Idempotent last-write-wins.

Break-glass #5 pre-flight: refuse to flip a topic to enforced if there is NO working admin path (would risk locking authz changes out). Flipping BACK to shadow is always allowed — it can only ever relax enforcement, so it must never be blocked (it's the rollback lever).

post/authz/enforcement/{topic}

Request

  • Base URL: https://api-docs.session-exchange.com (the document declares no server; this is the origin it was published from)
  • URL: https://api-docs.session-exchange.com/authz/enforcement/{topic}
  • Auth: none declared

Path parameters

topicstring required

Request body

mode'shadow' | 'enforced' required

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 2 revisions of this API.