Browse and search developers
/
Questions
Delete a question
Removes a question from the draft. Answers already collected are kept.
On this page
DELETE
/v1/forms/{formId}/questions/{questionId}Scope: forms:writecurl -X DELETE "https://api.formitai.com/v1/forms/FORM_ID/questions/QUESTION_ID" \
-H "Authorization: Bearer $FORMIT_API_KEY"Parameters
Path
formIdstringRequiredquestionIdstringRequired
Response 200
idstringRequireddeletedtrueRequired
Example response
{
"id": "item_id",
"deleted": true
}Errors
400Invalid request:validation_failedwith fielddetails, or malformed JSON.401Missing or invalid API key.403The key lacks the scope, or its creator lacks the workspace permission.404Not found in this key’s workspace.429Rate limit exceeded. Wait forRetry-Afterseconds.
Can't find what you need?