Update configuration key naming convention to use snake_case consistently. Applies changes recursively across all subdirectories.
51 lines
1.0 KiB
Plaintext
51 lines
1.0 KiB
Plaintext
meta {
|
|
name: Delete Conflict
|
|
type: http
|
|
seq: 4
|
|
}
|
|
|
|
delete {
|
|
url: {{base_url}}/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.
|
|
}
|