8478697d50cb

OpenAPI 3.0.32026-08-13137304311.2 KB
messages

Redact a message

Permanently replaces a message's stored content with redacted_body_message and optionally deletes its attachments. This action cannot be undone.

When omitted, redacted_body_message defaults to "This message has been redacted." and redact_attachments defaults to true.

Rate limit: 20 requests per minute

post/issues/{id}/messages/{message_id}/redact

Path parameters

idstring required

The ID of the issue that the message belongs to.

message_idstring required

The ID of the message to redact.

Request body

redact_attachmentsboolean

Whether to permanently delete the message's attachments. Defaults to true.

redacted_body_messagestring

Replacement message body in HTML. The caller is responsible for replacing any sensitive portions. Defaults to "This message has been redacted."

Response

request_idstring

The request ID for tracking.