DELETE/v2/projects/{projectId}/translations/{translationId}/comments/{commentId}

Delete a translation comment

Deletes a comment from a translation in a project. Specify the translation and comment identifiers to target the comment to remove. The operation returns a confirmation when the deletion completes.

3 parameters
translationIdintegerrequired
The unique identifier of the translation containing the comment.
commentIdintegerrequired
The unique identifier of the comment to delete.
projectIdintegerrequired
The unique identifier of the project containing the translation.

5 status codes
200Returns confirmation that the translation comment was deleted.
400Returned when a request parameter is invalid.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
403Returned when you do not have permission to delete the comment.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
404Returned when the comment, translation, or project cannot be found.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional

Error handling

A 400 is returned when the request parameters are invalid. A 401 is returned when authentication is missing or invalid, a 403 when you lack permission, and a 404 when the comment, translation, or project cannot be found. The translationId path parameter, commentId path parameter, and projectId path parameter must identify the comment and its containing resources.