Menu
Redact String In Comment
Redact String in Comment
PUT
/api/v2/tickets/{ticket_id}/comments/{ticket_comment_id}/redactUse it in a workflow
- Add a step and choose the Zendesk connector.
- Pick the Redact String In Comment action (under Ticket Comments).
- Fill in the fields below, then reference the result from later steps as
{{redactStringInComment.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{redactStringInComment.response.data.<field>}}.
{
"comment": {
"attachments": [
{
"content_type": "text/plain",
"content_url": "https://company.zendesk.com/attachments/crash.log",
"file_name": "crash.log",
"id": 498483,
"size": 2532,
"thumbnails": []
}
],
"author_id": 123123,
"body": "Thanks for your help!",
"created_at": "2009-07-20T22:55:29Z",
"id": 1274,
"metadata": {
"system": {
"client": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36",
"ip_address": "1.1.1.1",
"latitude": -37.000000000001,
"location": "Melbourne, 07, Australia",
"longitude": 144.0000000000002
},
"via": {
"channel": "web",
"source": {
"from": {},
"rel": "web_widget",
"to": {}
}
}
},
"public": true,
"type": "Comment"
}
}
Need more? See the Zendesk guide for connection setup and behaviour shared by every action.
Was this page helpful?