TopicForms
Delete a topic form
Deletes a form belonging to the visible topic. Its public key immediately stops accepting signups.
DELETE
Deletes a form belonging to the visible topic. Its public key immediately stops accepting signups. Existing email confirmation links keep their snapshotted copy and remain valid until expiry.
apiKeyheader
x-api-key<token>id*stringMatch
^unsub_[0-9a-hjkmnp-tv-z]{16,24}$formId*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$Format
uuidSuccess
application/json- response
success*booleanimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.topicForms.remove({ "id": "example", "formId": "example"});Example Response
{ "success": true}