Delete a question
curl --request DELETE \
--url https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/questions/{id} \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'DELETE', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/questions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/questions/{id}"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"deleted": true,
"id": "6b1f2c1e-2d7a-4a55-9c4e-0f1f8a7b2c11"
}{
"error": "Question does not exist."
}{
"error": "<string>"
}Questions
Delete a question
Delete a question from a form.
DELETE
/
forms
/
{form_id}
/
questions
/
{id}
Delete a question
curl --request DELETE \
--url https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/questions/{id} \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'DELETE', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/questions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/questions/{id}"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"deleted": true,
"id": "6b1f2c1e-2d7a-4a55-9c4e-0f1f8a7b2c11"
}{
"error": "Question does not exist."
}{
"error": "<string>"
}Replace
Learn how to find your subdomain in Workspace subdomain.
{your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Headers
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Path Parameters
Unique ID of the form. Refer to Getting the Form ID for detailed instructions.
Unique ID of the question. Get it from the list questions endpoint.