Enable or change the Safe House posture for an org
Organizations
Enable or change the Safe House posture for an org
Customer-admin entry point to set the Safe House mode for an organization. Mirrors the staff-only POST /v1/admin/safe-house/enable route; both call the same enable_sh_for_org(p_org_id, p_mode) RPC. Caller must be an owner or admin of the target org.
POST
Enable or change the Safe House posture for an org
Authorizations
Supabase JWT token in Authorization: Bearer header
Path Parameters
Organization identifier (e.g. org-abc12345)
Body
application/json
Target Safe House mode. Defaults to observe when omitted.
Available options:
disabled, off, observe, enforce, enforce_sync Response
Mode applied. Response shape mirrors the staff endpoint.
The response is of type object.