DeleteSurvey archives a survey (soft delete).
DELETE/api/v1/surveys/:id
Archived surveys cannot be assigned to new campaigns, but existing assignments and historical responses continue to resolve for reporting. Responses in progress against this survey's active version are allowed to complete.
Parameters
- id: Required, survey ID (> 0).
Errors
- NOT_FOUND: Survey does not exist.
- FAILED_PRECONDITION: Survey has active campaign assignments. Call
RemoveSurveyAssignmentfor each before deleting.
Request
Responses
- 200
- default
A successful response.
An unexpected error response.