Delete Survey Theme
Deletes a specified theme from a survey. This action is permanent and cannot be undone.
Endpoint
DELETE
v5/survey/{survey_id}/surveytheme/{theme_id}
Requires authentication
Path Parameters
Identifies the survey and the theme to delete from it.
survey_id
string
required
The ID of the survey the theme is applied to.
theme_id
string
required
The ID of the theme to delete.
Response
Returns a status object confirming the deletion.
result_ok
boolean
Whether the request succeeded.
status
string
Confirmation of the deletion. Returns
"success".Examples
Request (cURL)
curl -X DELETE "https://api.alchemer.com/v5/survey/YOUR_SURVEY_ID/surveytheme/YOUR_THEME_ID?api_token=YOUR_API_TOKEN&api_token_secret=YOUR_API_TOKEN_SECRET"
Response
{
"result_ok": true,
"status": "success"
}