Browse and search developers
/
Forms
Unpublish a form
Takes the form offline. Its link stops accepting new responses; existing responses are kept.
On this page
POST
/v1/forms/{formId}/unpublishScope: forms:writecurl -X POST "https://api.formitai.com/v1/forms/FORM_ID/unpublish" \
-H "Authorization: Bearer $FORMIT_API_KEY"Parameters
Path
formIdstringRequired
Response 200
idstringRequiredpublishedfalseRequired
Example response
{
"id": "item_id",
"published": false
}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?