Mark spam / not spam
Flips the spam flag and adjusts the form's spamCount. Returns a message, not the submission. Owner-only — triaging a shared form's inbox returns 403.
View as MarkdownAuthorization
bearer In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/forms/string/submissions/string" \ -H "Content-Type: application/json" \ -d '{ "isSpam": true }'{ "message": "string"}Delete submissions in bulk
Hard-deletes submissions and takes them off the form's counters. Exactly one selector, from the JSON body or the query string: ids (at most 1000; in the query, repeated or comma-separated) deletes those submissions whether or not they are spam, and ids of other forms are ignored; before (RFC 3339) deletes everything received before that instant, leaving spam alone unless includeSpam is true. Owner-only — a shared form returns 403. Recorded in the audit log (submissions.deleted) when anything was deleted.
Delete a submission
Hard-deletes the submission and decrements the form's counters. Owner-only — deleting from a shared form's inbox returns 403. Recorded in the audit log (submission.deleted).