{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can redact a conversation part or the source message of a conversation (as seen in the source object).\n\n{% admonition type=\"info\" name=\"Redacting parts and messages\" %}\nIf you are redacting a conversation part, it must have a `body`. If you are redacting a source message, it must have been created by a contact. We will return a `conversation_part_not_redactable` error if these criteria are not met.\n{% /admonition %}\n\n","properties":{"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"body":{"$ref":"#/definitions/redact_conversation_request","examples":[{"type":"conversation_part","conversation_id":"608","conversation_part_id":"149"}]}},"required":[],"additionalProperties":false,"definitions":{"intercom_version":{"description":"Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.","type":"string","enum":["1.0","1.1","1.2","1.3","1.4","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17"],"examples":["2.17"]},"redact_conversation_request":{"oneOf":[{"title":"Redact Conversation Part Request","type":"object","description":"Payload of the request to redact a conversation part","properties":{"type":{"type":"string","enum":["conversation_part"],"description":"The type of resource being redacted.","examples":["conversation_part"]},"conversation_id":{"type":"string","description":"The id of the conversation.","examples":["19894788788"]},"conversation_part_id":{"type":"string","description":"The id of the conversation_part.","examples":["19381789428"]}},"required":["type","conversation_id","conversation_part_id"]},{"title":"Redact Conversation Source Request","type":"object","description":"Payload of the request to redact a conversation source","properties":{"type":{"type":"string","enum":["source"],"description":"The type of resource being redacted.","examples":["source"]},"conversation_id":{"type":"string","description":"The id of the conversation.","examples":["19894788788"]},"source_id":{"type":"string","description":"The id of the source.","examples":["19894781231"]}},"required":["type","conversation_id","source_id"]}]}}},"name":"Redact a conversation part","id":"intercom.redactconversation","example":{},"maxRequests":1,"summary":false}}