Data
Switches a kind of data off and deletes it
This cannot be undone. Every table, file or secret of that kind is deleted, the copies of the lambda's features included. From its next request on, code that uses it fails with an exception that says it is off. GET …/summary says whether the code of the lambda uses each kind (usesDatabase, usesWorkspace, missingSecrets), before switching one off. Nothing happens if it is off already.
delete/lambdas/{privateKey}/data/{kind}
Request
- Base URL: https://genhttp.dev/api/v1
- URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/data/{kind}
- Auth: none declared
Path parameters
privateKeystring required
The editor key of the lambda. Holding it is what allows the call.
kindstring required
Which kind: database, workspace or secrets
Response
The kind of data, switched off and empty
Changes
No recorded changes to this operation across all 1 revision of this API.