Docs
Surveys

Delete a survey

DELETE/surveys/{id}Needscontent.delete

Deletes the survey with its versions and translations, and stops serving it everywhere. This can't be undone.

Authorization

secretKey
headerAuthorizationBearer <sk_…>

A secret API key from Settings → API keys. It acts with its creator's role.

Path Parameters

id*integer

The survey's id.

Range1 <= value

Response Body

Deleted

application/json
  1. response
success*unknown
Shell
curl -X DELETE 'https://app.cueston.com/api/surveys/1'
Example Response
JSON
{
  "success": true
}