Admin
Update a survey — isActive is the visibility toggle: false makes every question in it unfetchable
Changed onpatch/api/admin/questionnaire/surveys/{id}
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/admin/questionnaire/surveys/{id}
- AuthHTTP bearer
Path parameters
idnumber required
Request body
Example request
{
"name": "Healthy 2.0 (renamed)"
}Changes
- info
endpoint added
- info