Functions
Create or update an org secret
Idempotent insert-or-update keyed on (org_id, key). Returns 201 the first time the key is set, 200 on subsequent updates. Values are encrypted at rest. A changed value lands in a function only on that function's next deploy.
Keys must match ^[A-Z_][A-Z0-9_]*$ (uppercase letters, digits, underscores; first character is a letter or underscore). Values are at most 4096 UTF-8 bytes. System- managed keys are reserved and rejected.
post/org/secrets
Headers
Idempotency-Keystring
Optional client-supplied idempotency key. Retrying a request with the same key returns the original result instead of performing the action a second time; if omitted the server derives one from the canonical payload hash. Safe to retry network failures without duplicating side effects.
Request body
Response
Secret updated