Skip to main content
DELETE
/
surveys
/
{survey_id_or_slug}
Delete survey
curl --request DELETE \
  --url https://api.questra.ai/surveys/{survey_id_or_slug} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Org-Id: <x-org-id>'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Org-Id
string
required

The ID of the organization to make requests against. Found on your Settings page.

Path Parameters

survey_id_or_slug
string
required

Unique ID or slug of the survey to delete

Response