Switch on a kind of data
enable_dataSwitch on a kind of data the lambda needs and does not have: 'database' (a SQLite database for its records - off until switched on, which makes it, empty), 'secrets' (off until switched on) or 'workspace' (on unless the owner switched it off). Do it when what you build needs it - records need the database, an API key for a service it calls needs secrets. Takes effect at once, without a deploy; switching the database on starts the lambda again on its next request, so its migrations run. There is no tool to switch one off: that deletes what it held, and is the owner's to do in the editor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which kind: 'database' or 'workspace' or 'secrets'. | |
| privateKey | Yes | The editor key. |