Skip to content

Milestone Comment

Comments that enable members/administrators to share their views on milestone for the betterment of the project.

Attributes

id (long)
Unique identifier of the milestone comment

id (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

milestone (milestone)read only
The milestone to which the comment is associated to

milestone (milestone)
The Milestone to which the comment is associated

Example

{
  "milestone": {
    "name": "test-milestone",
    "id": "234567890123456"
  }
}

comment (html)
Content of the milestone comment

comment (html)
HTML is a text area where html elements can be used.

Example

<b>The content to be displayed</b>

parent_comment (milestone_comment)
Represents the comment of the current reply.

parent_comment (milestone_comment)

Example

{
  "parent_comment": {
    "comment": "this is milestone comment",
    "id": "3304000001245275"
  }
}

created_by (user)read only
The user who created the milestone comment

created_by (user)
The User who created the Milestone Comment

Example

{
  "created_by": {
    "email_id": "andrews@zmail.com",
    "name": "test-created_by",
    "id": "234567890123456"
  }
}

created_time (datetime)read only
The time at which the comment is created

created_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

More Attributes Expand all

last_updated_time (datetime)read only

Denotes last modified time of the Comment/ Reply.

last_updated_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

Add Milestone Comment

This operation helps you Add milestone comment.

Mandatory Fields :- [“comment”]

Url

api/v3/projects/{project_id}/milestones/{milestone_id}/comments

Attributes

id (long)
Unique identifier of the milestone comment

id (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

milestone (milestone)read only
The milestone to which the comment is associated to

milestone (milestone)
The Milestone to which the comment is associated

Example

{
  "milestone": {
    "name": "test-milestone",
    "id": "234567890123456"
  }
}

comment (html)
Content of the milestone comment

comment (html)
HTML is a text area where html elements can be used.

Example

<b>The content to be displayed</b>

parent_comment (milestone_comment)
Represents the comment of the current reply.

parent_comment (milestone_comment)

Example

{
  "parent_comment": {
    "comment": "this is milestone comment",
    "id": "3304000001245275"
  }
}

created_by (user)read only
The user who created the milestone comment

created_by (user)
The User who created the Milestone Comment

Example

{
  "created_by": {
    "email_id": "andrews@zmail.com",
    "name": "test-created_by",
    "id": "234567890123456"
  }
}

created_time (datetime)read only
The time at which the comment is created

created_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

More Attributes Expand all

last_updated_time (datetime)read only

Denotes last modified time of the Comment/ Reply.

last_updated_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

$ curl <url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments\
      -X POST\
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"\
      -d input_data='{
  "milestone_comment": {
    "comment": "this is milestone comment"
  }
}'
// Deluge Sample script
url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
input_data = {
  "milestone_comment": {
    "comment": "this is milestone comment"
  }
};
params = {"input_data": input_data};
response = invokeurl
[
    url: url
    type: POST
    parameters: params
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$input_data = @'
{
  "milestone_comment": {
    "comment": "this is milestone comment"
  }
}
'@
$data = @{ 'input_data' = $input_data}
$response = Invoke-RestMethod -Uri $url -Method post -Body $data -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
input_data = '''{
  "milestone_comment": {
    "comment": "this is milestone comment"
  }
}'''
data = urlencode({"input_data":input_data}).encode()
httprequest = Request(url, headers=headers,data=data, method="POST")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
    "milestone_comment": {
        "parent_comment": null,
        "created_time": {
            "display_value": "Jun 2, 2021 11:29 AM",
            "value": "1622613599741"
        },
        "last_updated_time": null,
        "milestone": {
            "id": "3304000001245001",
            "title": "Milestone Title"
        },
        "comment": "this is milestone comment",
        "id": "3304000001245301",
        "created_by": {
            "email_id": "user@zohocorp.com",
            "is_technician": true,
            "sms_mail": null,
            "mobile": null,
            "last_name": null,
            "user_scope": "0",
            "phone": null,
            "name": "User Name",
            "id": "3304000000113318",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=58663403&t=user&height=60&width=60",
            "is_vip_user": false,
            "department": null,
            "first_name": "User",
            "job_title": null
        }
    },
    "response_status": {
        "status_code": 2000,
        "status": "success"
    }
}

Edit Milestone Comment

This operation helps you update a milestone comment.

Url

api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}

Attributes

id (long)
Unique identifier of the milestone comment

id (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

milestone (milestone)read only
The milestone to which the comment is associated to

milestone (milestone)
The Milestone to which the comment is associated

Example

{
  "milestone": {
    "name": "test-milestone",
    "id": "234567890123456"
  }
}

comment (html)
Content of the milestone comment

comment (html)
HTML is a text area where html elements can be used.

Example

<b>The content to be displayed</b>

parent_comment (milestone_comment)
Represents the comment of the current reply.

parent_comment (milestone_comment)

Example

{
  "parent_comment": {
    "comment": "this is milestone comment",
    "id": "3304000001245275"
  }
}

created_by (user)read only
The user who created the milestone comment

created_by (user)
The User who created the Milestone Comment

Example

{
  "created_by": {
    "email_id": "andrews@zmail.com",
    "name": "test-created_by",
    "id": "234567890123456"
  }
}

created_time (datetime)read only
The time at which the comment is created

created_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

More Attributes Expand all

last_updated_time (datetime)read only

Denotes last modified time of the Comment/ Reply.

last_updated_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

$ curl <url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}\
      -X PUT\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"\
      -d input_data='{
  "milestone_comment": {
    "comment": "this is milestone comment edited"
  }
}'
// Deluge Sample script
url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
input_data = {
  "milestone_comment": {
    "comment": "this is milestone comment edited"
  }
};
params = {"input_data": input_data};
response = invokeurl
[
    url: url
    type: PUT
    parameters: params
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}"
$headers = @{"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
$input_data = @'
{
  "milestone_comment": {
    "comment": "this is milestone comment edited"
  }
}
'@
$data = @{ 'input_data' = $input_data}
$response = Invoke-RestMethod -Uri $url -Method put -Body $data -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
input_data = '''{
  "milestone_comment": {
    "comment": "this is milestone comment edited"
  }
}'''
data = urlencode({"input_data":input_data}).encode()
httprequest = Request(url, headers=headers,data=data, method="PUT")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
    "milestone_comment": {
        "parent_comment": null,
        "created_time": {
            "display_value": "Jun 2, 2021 11:25 AM",
            "value": "1622613341580"
        },
        "last_updated_time": {
            "display_value": "Jun 2, 2021 11:59 AM",
            "value": "1622615340877"
        },
        "milestone": {
            "id": "3304000001245001",
            "title": "Milestone Title"
        },
        "comment": "<div>this is milestone comment edited<br></div>",
        "id": "3304000001245275",
        "created_by": {
            "email_id": "user@zohocorp.com",
            "is_technician": true,
            "sms_mail": null,
            "mobile": null,
            "last_name": null,
            "user_scope": "0",
            "phone": null,
            "name": "User Name",
            "id": "3304000000113318",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=58663403&t=user&height=60&width=60",
            "is_vip_user": false,
            "department": null,
            "first_name": "User",
            "job_title": null
        }
    },
    "response_status": {
        "status_code": 2000,
        "status": "success"
    }
}

Get Milestone Comment

This operation helps you Get milestone comment.

Url

api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}

Attributes

id (long)
Unique identifier of the milestone comment

id (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

milestone (milestone)read only
The milestone to which the comment is associated to

milestone (milestone)
The Milestone to which the comment is associated

Example

{
  "milestone": {
    "name": "test-milestone",
    "id": "234567890123456"
  }
}

comment (html)
Content of the milestone comment

comment (html)
HTML is a text area where html elements can be used.

Example

<b>The content to be displayed</b>

parent_comment (milestone_comment)
Represents the comment of the current reply.

parent_comment (milestone_comment)

Example

{
  "parent_comment": {
    "comment": "this is milestone comment",
    "id": "3304000001245275"
  }
}

created_by (user)read only
The user who created the milestone comment

created_by (user)
The User who created the Milestone Comment

Example

{
  "created_by": {
    "email_id": "andrews@zmail.com",
    "name": "test-created_by",
    "id": "234567890123456"
  }
}

created_time (datetime)read only
The time at which the comment is created

created_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

More Attributes Expand all

last_updated_time (datetime)read only

Denotes last modified time of the Comment/ Reply.

last_updated_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

$ curl -G <url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}\
      -X GET\
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"
// Deluge Sample script
url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};          
response = invokeurl
[
    url: url
    type: GET
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}  
$response = Invoke-RestMethod -Uri $url -Method get -Headers $headers 
$response
#Python version - 3.8
#This script requires requests module installed in python.
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
httprequest = Request(url, headers=headers)
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
  "milestone_comment": {
    "parent_comment": {
      "comment": "this is milestone comment",
      "id": "3304000001245275"
    },
    "created_time": {
      "display_value": "Jun 2, 2021 11:44 AM",
      "value": "1622614479264"
    },
    "last_updated_time": null,
    "milestone": {
      "id": "3304000001245001",
      "title": "Milestone Title"
    },
    "comment": "<div>This is reply<br></div>",
    "id": "3304000001246001",
   "created_by": {
            "email_id": "user@zohocorp.com",
            "is_technician": true,
            "sms_mail": null,
            "mobile": null,
            "last_name": null,
            "user_scope": "0",
            "phone": null,
            "name": "User Name",
            "id": "3304000000113318",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=58663403&t=user&height=60&width=60",
            "is_vip_user": false,
            "department": null,
            "first_name": "User",
            "job_title": null
        }
  },
  "response_status": {
    "status_code": 2000,
    "status": "success"
  }
}

Get List Milestone Comment

This operation helps you Get all milestone comments.

Url

api/v3/projects/{project_id}/milestones/{milestone_id}/comments

Attributes

id (long)
Unique identifier of the milestone comment

id (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

milestone (milestone)read only
The milestone to which the comment is associated to

milestone (milestone)
The Milestone to which the comment is associated

Example

{
  "milestone": {
    "name": "test-milestone",
    "id": "234567890123456"
  }
}

comment (html)
Content of the milestone comment

comment (html)
HTML is a text area where html elements can be used.

Example

<b>The content to be displayed</b>

parent_comment (milestone_comment)
Represents the comment of the current reply.

parent_comment (milestone_comment)

Example

{
  "parent_comment": {
    "comment": "this is milestone comment",
    "id": "3304000001245275"
  }
}

created_by (user)read only
The user who created the milestone comment

created_by (user)
The User who created the Milestone Comment

Example

{
  "created_by": {
    "email_id": "andrews@zmail.com",
    "name": "test-created_by",
    "id": "234567890123456"
  }
}

created_time (datetime)read only
The time at which the comment is created

created_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

More Attributes Expand all

last_updated_time (datetime)read only

Denotes last modified time of the Comment/ Reply.

last_updated_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

$ curl -G <url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments\
      -X GET\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"\
      --data-urlencode input_data='{}'
// Deluge Sample script
url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
input_data = {};
params = {"input_data":input_data};           
response = invokeurl
[
    url: url
    type: GET
    parameters:params
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$input_data = @'{}'@
$data = @{ 'input_data' = $input_data}    
$response = Invoke-RestMethod -Uri $url -Method get -Body $data -Headers $headers 
$response
#Python version - 3.8
#This script requires requests module installed in python.
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
input_data = '''{}'''       
url += "?" + urlencode({"input_data":input_data})
httprequest = Request(url, headers=headers)
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
  "comments": [
    {
      "parent_comment": null,
      "created_time": {
        "display_value": "Jun 2, 2021 11:25 AM",
        "value": "1622613341580"
      },
      "last_updated_time": null,
      "milestone": {
        "id": "3304000001245001",
        "title": "Milestone Title"
      },
      "comment": "this is milestone comment",
      "id": "3304000001245275",
      "created_by": {
            "email_id": "user@zohocorp.com",
            "is_technician": true,
            "sms_mail": null,
            "mobile": null,
            "last_name": null,
            "user_scope": "0",
            "phone": null,
            "name": "User Name",
            "id": "3304000000113318",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=58663403&t=user&height=60&width=60",
            "is_vip_user": false,
            "department": null,
            "first_name": "User",
            "job_title": null
        }
    },
    {
      "parent_comment": {
        "id": "3304000001245275"
      },
      "created_time": {
        "display_value": "Jun 2, 2021 11:44 AM",
        "value": "1622614479264"
      },
      "last_updated_time": null,
      "milestone": {
        "id": "3304000001245001",
        "title": "Milestone Title"
      },
      "comment": "This is reply",
      "id": "3304000001246001",
      "created_by": {
            "email_id": "user@zohocorp.com",
            "is_technician": true,
            "sms_mail": null,
            "mobile": null,
            "last_name": null,
            "user_scope": "0",
            "phone": null,
            "name": "User Name",
            "id": "3304000000113318",
            "photo_url": "https://contacts.localzoho.com/file?exp=10&ID=58663403&t=user&height=60&width=60",
            "is_vip_user": false,
            "department": null,
            "first_name": "User",
            "job_title": null
        }
    }
  ],
  "response_status": [
    {
      "status_code": 2000,
      "status": "success"
    }
  ],
  "list_info": {
    "has_more_rows": false,
    "row_count": 2
  }
}

Delete Milestone Comment

This operation helps you delete a milestone comment.

Url

api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}

$ curl <url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}\
      -X DELETE\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"
// Deluge Sample script
url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
response = invokeurl
[
    url: url
    type: DELETE
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$response = Invoke-RestMethod -Uri $url -Method delete -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.request import urlopen,Request

url = "<url>/api/v3/projects/{project_id}/milestones/{milestone_id}/comments/{comment_id}"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
httprequest = Request(url, headers=headers,method="DELETE")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
  "response_status": {
    "status_code": 2000,
    "status": "success"
  }
}