Skip to main content
POST
/
forms
/
{id}
/
unpublish
Unpublish Form
curl --request POST \
  --url https://geniusforms.ai/api/v1/forms/{id}/unpublish \
  --header 'X-API-Key: <api-key>'
{
  "id": 123,
  "isPublished": false,
  "publishedAt": "<unknown>"
}

Authorizations

X-API-Key
string
header
required

API key obtained from your GeniusForms dashboard

Path Parameters

id
integer
required

Response

200 - application/json

Form unpublished

id
integer
isPublished
boolean
Example:

false

publishedAt
null