submit_directivePostgres RPCCapture a plain-language instruction as an immutable directive. The original text can never be edited afterwards.
| Parameter | Type | Description |
|---|---|---|
| _t* | uuid | Organization (tenant) id. |
| _env* | 'sandbox' | 'production' | Target environment. |
| _node* | uuid | null | Org unit the directive applies to, or null for the whole organization. |
| _text* | text | The instruction, 5 to 4000 characters. |
- Returns
- uuid — the new directive id, status 'captured'.
- Who may call
- Owners, admins and operators. Production also requires production access and a licensed Directive Interface.
- Ledger event
- directive.captured
