Get Started
Usage API
More information

DELETE api/2.0/project/milestone This function requires authentication

Description

Deletes the milestones with the IDs specified in the request.

Parameters
Name Description Type Example
ids
sent in body
Milestone IDs System.Int32[]
Example
DELETE api/2.0/project/milestone
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "ids": [
    1234
  ]
}
Returns

Deleted milestones

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "ProjectOwner": {
        "Id": "123",
        "Title": "Sample project",
        "Status": 0,
        "IsPrivate": false
      },
      "Deadline": "2020-12-22T04:11:56.4458522Z",
      "IsKey": false,
      "IsNotify": false,
      "ActiveTaskCount": 15,
      "ClosedTaskCount": 5,
      "CanEdit": false,
      "CanDelete": false
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <ProjectOwner>
      <Id>123</Id>
      <Title>Sample project</Title>
      <Status>0</Status>
      <IsPrivate>False</IsPrivate>
    </ProjectOwner>
    <Deadline>2020-12-22T04:11:56.4458522Z</Deadline>
    <IsKey>False</IsKey>
    <IsNotify>False</IsNotify>
    <ActiveTaskCount>15</ActiveTaskCount>
    <ClosedTaskCount>5</ClosedTaskCount>
    <CanEdit>False</CanEdit>
    <CanDelete>False</CanDelete>
  </response>
</result>