Delete an exam

DELETE/products/{product_id}/exams/{exam_id}

Moves the exam to the trash.

An exam that is displayed by a lesson, required to unlock a certificate, or required by a release rule cannot be deleted. In that case the API returns state_conflict, and details[].reason indicates the dependency: lesson, certificate, or release_rule.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Path Parameters

product_id*string
exam_id*string

Header Parameters

If-Match?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/products/string/exams/string"
Empty