Mark or unmark a submission as spam

Sets the submission’s is_spam flag and returns the refreshed submission resource.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

formSubmissionlongRequired>=1
Submission whose spam flag should change.

Request

This endpoint expects an object.
is_spambooleanRequired
Whether to classify the submission as spam.

Response

Spam status updated; the refreshed submission resource is returned.

statusenum
messagestring
datamap from strings to any

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error