You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Delete Incident Thread of Private Note

Accepted answer
14
Views
2
Comments
edited Jun 8, 2022 12:10PM in General Technical Discussions 2 comments

Summary

Remove private note from incident thread

Content

Hi,

We have requirement to remove incident thread / text which is of thread entry type = 1 (as Private Note). Would it be possible in ConnectPHP or REST API ? 

I tried with both but no luck 

 

Request End Point - https://abcd--tst1.custhelp.com/services/rest/connect/v1.4/incidents/908801/threads/82172

Method - Delete

Response

{
    "title": "A problem deleting a resource was detected",
    "status": 400,
    "detail": "Error attempting to DELETE resource: Cannot save/update: Incident(ID=908801): \nInternal Error - Pair Error\n  Pair Chain: thread=>thread_entry(1)=>acct_id\n Description: no matching prev record found for thread_entry1, action=ACTION_DEL\n",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!