Remove a comment while retaining revision history
Requires current workspace membership. Manager-only operations include permission and project-link management. Text approval requires a separate language review grant; resource editor access never grants translation permissions. Expected versions and branch scope are checked before mutation. Source and context text are not telemetry.
DELETE /api/v1/workspaces/{workspaceId}/projects/{projectId}/branches/{branchId}/keys/{keyId}/discussions/{threadId}/comments/{commentId}Operation: removeDiscussionComment · Download OpenAPI
Access
Section titled “Access”This operation does not use the panel session as its authentication mechanism. Follow the operation-specific checks described above.
session
{ "type": "apiKey", "in": "cookie", "name": "localisync_session"}Parameters
Section titled “Parameters”| Name | Location | Required | Description |
|---|---|---|---|
workspaceId |
path | Yes | See constraints below. |
projectId |
path | Yes | See constraints below. |
branchId |
path | Yes | See constraints below. |
keyId |
path | Yes | See constraints below. |
threadId |
path | Yes | See constraints below. |
commentId |
path | Yes | See constraints below. |
Origin |
header | Yes | See constraints below. |
X-CSRF-Token |
header | Yes | See constraints below. |
workspaceId
Section titled “workspaceId”{ "type": "string", "format": "uuid"}projectId
Section titled “projectId”{ "type": "string", "format": "uuid"}branchId
Section titled “branchId”{ "type": "string", "format": "uuid"}{ "type": "string", "format": "uuid"}threadId
Section titled “threadId”{ "type": "string", "format": "uuid"}commentId
Section titled “commentId”{ "type": "string", "format": "uuid"}Origin
Section titled “Origin”{ "type": "string", "format": "uri"}X-CSRF-Token
Section titled “X-CSRF-Token”{ "type": "string"}Request body
Section titled “Request body”Required: Yes.
application/json
Section titled “application/json”Schema reference: Version.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
version |
integer | Yes | maximum: 2147483646 |
{ "$ref": "#/components/schemas/Version"}Responses
Section titled “Responses”Result returned.
Content type: application/json
Schema reference: DiscussionComment.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
id |
string | Yes | format: "uuid"; pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" |
threadId |
string | Yes | format: "uuid"; pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" |
replyToId |
See schema | Yes | — |
authorId |
string | Yes | format: "uuid"; pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" |
authorLabel |
string or null | Yes | — |
text |
string or null | Yes | — |
mentions |
Array of string | Yes | maxItems: 20 |
version |
integer | Yes | maximum: 2147483646 |
createdAt |
string | Yes | format: "date-time"; pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" |
updatedAt |
string | Yes | format: "date-time"; pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" |
removedAt |
See schema | Yes | — |
canEdit |
boolean | Yes | — |
{ "$ref": "#/components/schemas/DiscussionComment"}Safe error. Mutations are atomic.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
details |
See schema | No | — |
{ "$ref": "#/components/schemas/Error"}Safe error. Mutations are atomic.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
details |
See schema | No | — |
{ "$ref": "#/components/schemas/Error"}Safe error. Mutations are atomic.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
details |
See schema | No | — |
{ "$ref": "#/components/schemas/Error"}Safe error. Mutations are atomic.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
details |
See schema | No | — |
{ "$ref": "#/components/schemas/Error"}Safe error. Mutations are atomic.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
details |
See schema | No | — |
{ "$ref": "#/components/schemas/Error"}Safe error. Mutations are atomic.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
details |
See schema | No | — |
{ "$ref": "#/components/schemas/Error"}Safe error. Mutations are atomic.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
details |
See schema | No | — |
{ "$ref": "#/components/schemas/Error"}Safe error. Mutations are atomic.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
details |
See schema | No | — |
{ "$ref": "#/components/schemas/Error"}Safe error. Mutations are atomic.
Content type: application/json
Schema reference: Error.
| Field | Type | Required | Constraints / description |
|---|---|---|---|
error |
string | Yes | — |
message |
string | Yes | — |
requestId |
string | Yes | — |
details |
See schema | No | — |
{ "$ref": "#/components/schemas/Error"}Related guidance
Section titled “Related guidance”Choose whether we remember appearance preferences and use Google Analytics on Localisync and its documentation. Optional storage stays off until you accept.
Read our cookie policy