Files
bookhoard/bruno/conflicts/Delete Conflict.bru
T
john-okeefe 3117ce54ec refactor(bruno): migrate API tests to Bruno DSL format
- Convert all existing .bru files from JSON to Bruno DSL format
- Remove obsolete files (conflicts/api.bru, kobo/Kobo Initialization.bru)
- Update auth configuration to use 'inherit' instead of explicit bearer tokens
- Add comprehensive documentation to all test files
- Improve test scripts with proper assertions and error handling
2026-02-08 20:49:06 -05:00

51 lines
1.0 KiB
Plaintext

meta {
name: Delete Conflict
type: http
seq: 4
}
delete {
url: {{baseUrl}}/api/conflicts/{{conflict_id}}
body: none
auth: inherit
}
headers {
Authorization: Bearer {{token}}
}
settings {
encodeUrl: true
timeout: 0
}
docs {
## Delete Conflict
Permanently deletes a specific conflict record from the system.
**Method:** DELETE
**Endpoint:** /api/conflicts/{conflict_id}
**Authentication:** Bearer token
**Path Parameters:**
- `conflict_id` (string): Conflict UUID to delete
**Response:** 204 No Content on success
**Status Codes:**
- 204: Success - conflict deleted
- 401: Unauthorized
- 404: Conflict not found
- 500: Internal server error
**Use Cases:**
- Conflict was created in error
- Dismissing a conflict without resolving it
- Conflict is no longer relevant (e.g., book deleted)
**Note:** This permanently removes the conflict record with no undo option. Consider resolving the conflict instead if you want to maintain an audit trail of what happened.
}