Update the environment
Requires organization:update. Everything here is per environment, so a developer can evaluate hosted in test while production stays federated — and can rehearse a stricter sign-up policy the same way.
Send only the fields you are changing; the ones you leave out keep their value.
Autorizações
A staff session token, uk_st_…. Minted by sign-up, sign-in or the two-factor exchange.
Cabeçalhos
The organization the caller is acting on — the org_… code that appears in the panel URL. It identifies; the membership JOIN is what authorizes, so a forged code reads nothing. Absent, the session's default organization answers.
Parâmetros de caminho
The environment's id.
Corpo
Any subset of the fields. A waitlist may only be held where UserKit owns the sign-in.
hosted, federated Hold a line instead of opening the door: sign-ups join the queue, and no session is minted for anybody still in it — by any route, social included.
Refuse sign-ups from throwaway inbox services. allow by default: a disposable address is somebody who does not trust the product yet, not a fraud signal, and blocking costs you that sign-up — the trade is yours to make.
allow, block Demand a solved captcha on the public sign-up doors of this environment. Inert while the server reports captcha_available: false.
Resposta
Updated.