Skip to main content
POST
/
v2
/
deleteSurveys
Delete surveys
curl --request POST \
  --url https://api.redem.io/v2/deleteSurveys \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "surveyNames": [
    "Customer-Satisfaction-2025",
    "NPS-Q3-2025"
  ]
}
'
{
  "success": true,
  "message": "Surveys deleted successfully",
  "results": {
    "Customer-Satisfaction-2025": {
      "success": true,
      "deleted": {
        "respondents": 120
      }
    },
    "NPS-Q3-2025": {
      "success": false,
      "message": "Survey not found or not owned by user"
    }
  }
}
Delete one or more surveys that you own. This removes all associated data: respondents, respondent metadata, interaction data, flattened collections, quality settings, and the survey itself.

Authorizations

api-key
string
header
required

Body

application/json
surveyNames
string[]
required

Array of survey names to delete.

Minimum array length: 1

Response

Successful deletion response.

success
boolean

A variable indicating whether the operation was successful.

message
string

A variable that human-readable message providing additional context or confirmation of the requested action.

results
object

This object serves as a container to hold the results for the requested data, encapsulating all relevant information and outputs in a structured format.