Reply Delete¶
DELETE /api/v1/issue/reply/{reply_uuid}/delete
Overview¶
Delete a regular reply in the current workspace and handle associated attachments and subsequent notifications.
Before You Call and Usage Steps¶
Obtain the reply UUID from the Reply List, and send the DELETE request after confirmation; no request body is required. After success, the reply record is marked as deleted, and associated attachments are cleaned up according to the deletion process. This API locates the target by workspace and reply record status, and actual operation permission is controlled by API permissions; unlike modifying a reply, it does not additionally require creator to equal the current caller identity. Repeated deletion usually returns resource not found; confirm the current status first. Deletion notifications are sent asynchronously according to the notification policy of the channel associated with the Issue and its schedule; regular channel subscriptions, assignees, and this @ mention are not directly added to the recipients of the deletion notification. Success does not mean the notification has been delivered. Writes, subsequent notifications, and attachment processing are executed in steps. After a failure or timeout, first query whether the resource has been created or updated, then decide whether to retry to avoid duplicate records and notifications.
Route Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
| reply_uuid | string | Y | UUID of a single reply; do not use the Issue UUID. Example: repim_exampleHow to obtain or enter: Obtain it from content.data[].uuid in the Reply List or content.uuid in Create Reply. |
Request Headers¶
| Parameter | Type | Required | Description |
|---|---|---|---|
| DF-API-KEY | string | Y | OpenAPI authentication credential for the workspace. Example: <DF-API-KEY>How to obtain or enter: Obtain an OpenAPI Key with the required operation permission from API Key Management in the target workspace. |
Additional Parameter Notes¶
Deleting a reply does not delete the Issue. After an exception is returned, first check whether the reply still exists, then decide whether to retry.
Request Example¶
curl --request DELETE 'https://openapi.guance.com/api/v1/issue/reply/repim_example/delete' \
-H 'DF-API-KEY: <DF-API-KEY>'
Response¶
HTTP 200, application/json. The example below shows the main fields that can be read directly.
| Field | Type | Description |
|---|---|---|
| content | boolean | Returns true if the deletion process succeeds. |
{
"code": 200,
"content": true,
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-EXAMPLE"
}
Error Response¶
For authentication, rate limiting, and common request errors, see Common Error Definitions.
| HTTP Status | errorCode | Trigger Condition | Message or Response Description | Handling |
|---|---|---|---|---|
| 404 | ft.ObjectNotExists | The specified resource does not exist in the current workspace or does not meet the query conditions | The specified object does not exist | Obtain the resource UUID in the same workspace again and check whether it has been deleted. |
| 500 | ft.InternalServerError | Failed to save a level or configuration, audit, or other internal processing | Internal error | First read the current level or configuration to confirm the result, then decide whether to retry; if the failure persists, provide the traceId. |