{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/formz/:id/status","auth":"required","params":[{"name":"id","type":"string","default":"","desc":"Id of the form to change the status on.","required":true,"in":"path","ref":"","_id":"5536dc26c16ee70d007568ad"},{"name":"body","type":"object","default":"","desc":"Status object","required":true,"in":"body","ref":"","_id":"55416deaa481090d006fe5e3"}],"results":{"codes":[]},"settings":"","examples":{"codes":[{"code":"POST https://api.goformz.com/v2/formz/a0fd89b2-75a7-46b3-9924-78bf51bd8804/status","name":"","language":"http"}]},"method":"post"},"next":{"description":"","pages":[]},"title":"Re-open a Form","type":"endpoint","slug":"re-open-a-form","excerpt":"","body":"Re-opening a form requires the status of the form be set to Draft.   This can be achieved by issuing a POST request to the formz status endpoint:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"status\\\": \\\"draft\\\"\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n</br><a href=\"https://api.goformz.com/docs/api/explorer/index#!/Formz/Formz_ChangeStatus\" target=\"_blank\"><img src=\"https://files.readme.io/9Z82WIZnS7mZmco8oi4u_TryItNow3.png\" style=\"margin-left:15px\" width=\"128\" height=\"42\" ></a>","updates":[],"order":5,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5536dc26c16ee70d007568ac","createdAt":"2015-04-21T23:24:22.783Z","editedParams2":true,"user":"55356ede6040a20d00454508","__v":1,"category":{"sync":{"isSync":false,"url":""},"pages":["553591ce63cc650d00312928","553594c963cc650d00312931","5535985e63cc650d00312936","55365baa86514f0d00bc2f96","5536daf0a519b10d001f7df8","5536db65c16ee70d007568a8","5536dc26c16ee70d007568ac","5536de1453b6430d0042dfeb","5536e535bbb4a70d00a53529","553ab2a336d0100d004b35b1","554172c94841af0d00b4234f"],"title":"Formz","slug":"formz","order":1,"from_sync":false,"reference":false,"_id":"553591cd63cc650d00312927","version":"553591cd63cc650d00312925","__v":11,"createdAt":"2015-04-20T23:52:42.707Z","project":"55357364e02d480d0003c6d3"},"editedParams":true,"githubsync":"","project":"55357364e02d480d0003c6d3","version":{"version":"2","version_clean":"2.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["553591cd63cc650d00312926","553591cd63cc650d00312927","5536e4d39f7f2d0d00b1cd54","5536e55c20d5ca0d0001580a","5536e6bf7fe60f0d000fd1c0","5536f5bba171250d00c00556","553a974369c2630d00a8562e","553a97c60074c80d00621c2a","553a98332af5f20d000fc32a","553a9b9869c2630d00a85642","556e0f23d02e0b190042f13d","563249b1dcc27a1700823650","5639113f049e420d00476b03","59a5dd94aaa11d003334edb4"],"_id":"553591cd63cc650d00312925","project":"55357364e02d480d0003c6d3","releaseDate":"2015-04-20T23:54:53.134Z","__v":13,"forked_from":"55357365e02d480d0003c6d6","createdAt":"2015-04-20T23:54:53.134Z"},"parentDoc":null}

postRe-open a Form


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
required
string
Id of the form to change the status on.

Body Params

body:
required
object
Status object

Examples


Documentation

Re-opening a form requires the status of the form be set to Draft. This can be achieved by issuing a POST request to the formz status endpoint: [block:code] { "codes": [ { "code": "{\n \"status\": \"draft\"\n}", "language": "json" } ] } [/block] </br><a href="https://api.goformz.com/docs/api/explorer/index#!/Formz/Formz_ChangeStatus" target="_blank"><img src="https://files.readme.io/9Z82WIZnS7mZmco8oi4u_TryItNow3.png" style="margin-left:15px" width="128" height="42" ></a>