Skip to content

Discard an item

DELETE
/api/v1/questionnaires/{questionnaire_id}/questionnaire_items/{id}

Soft delete. The item is hidden but kept, so the answer history behind past exports stays intact.

NameType
questionnaire_id
required
string
Example
qu_1a2b

The questionnaire’s prefixed ID

id
required
string

The record’s prefixed ID

200

A confirmation message

Response body
Media typeapplication/json
object
message
string

403

Insufficient scope, role, or credits

Response body
Media typeapplication/json
object
error
object
code
string

A stable machine-readable code

message
string
details
Array<string>

Present on validation errors; one entry per failed validation

404

No such record in this account

Response body
Media typeapplication/json
object
error
object
code
string

A stable machine-readable code

message
string
details
Array<string>

Present on validation errors; one entry per failed validation