Skip to content

Delete image choice

DELETE
/multiple-choice/{id}/image-choice/{choiceId}
curl --request DELETE \
--url https://app.surveyrock.com/api/v1/multiple-choice/example/image-choice/example \
--header 'Authorization: Bearer <token>'

Delete an image choice option (includes S3 cleanup)

id
required
string
>= 16 characters <= 16 characters

Multiple choice element ID

choiceId
required
string

Image choice ID to delete

Image choice deleted successfully

Media typeapplication/json
object
success
boolean
data
object
deletedAt
string format: date-time
meta

Standard response metadata

object
timestamp

Response timestamp in ISO 8601 format

string format: date-time
version

API version

string
requestId

Unique request identifier

string
Example
{
"success": true,
"meta": {
"version": "3.0"
}
}