Overview /
Operations /
Delete a checklist
Delete a checklist
delete
https://api.flactrum.com/v1/checklists/{checklist}
A checklist that has been filled in cannot be deleted; past audit records would lose their basis.
| Required scope | checklists.write |
| Success status | 204 |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| checklist * | path | string | ULID of the record. |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X DELETE 'https://api.flactrum.com/v1/checklists/01m43mzcqq19c768h55zr0ent4' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 204
(empty body)
curl -X DELETE 'https://api.flactrum.com/v1/checklists/01m43mzcmhg0fpt5hh0qme5yhr' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 409 · application/json
{
"error": {
"code": "conflict",
"message": "This checklist has 1 submission(s) and cannot be deleted. Set is_active to false instead.",
"details": {
"submission_count": 1
}
}
}