Update Survey

PUT {{baseUrl}}/surveys/:surveyId

Updates a survey with the given ID. <!--From Readme--> For more information about using the survey APIs, see Managing Surveys.

Request Body

{"name"=>"<string>", "isActive"=>"<boolean>", "expiration"=>{"startDate"=>"<dateTime>", "endDate"=>"<dateTime>"}, "ownerId"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;meta&quot;:{&quot;httpStatus&quot;:&quot;\u003cstring\u003e&quot;,&quot;requestId&quot;:&quot;\u003cstring\u003e&quot;,&quot;notice&quot;:&quot;\u003cstring\u003e&quot;}}