Get Started
Portal api methods
Help

DELETE api/2.0/project/milestone/{id} This function requires authentication

Description

Deletes the milestone with the ID specified in the request

Parameters
Name Description Type Example
id
sent in url
Milestone ID number 1234
Example
DELETE api/2.0/project/milestone/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Deleted milestone

Example Response

application/json

{
  "status": 0,
  "response": {
    "canEdit": true,
    "canDelete": false,
    "id": 10,
    "title": "Sample Title",
    "description": "Sample description",
    "projectOwner": {
      "id": 123,
      "title": "Sample project",
      "status": 0,
      "isPrivate": false
    },
    "deadline": "2019-08-20T06:39:08.2206843Z",
    "isKey": false,
    "isNotify": false,
    "activeTaskCount": 15,
    "closedTaskCount": 5,
    "status": 0,
    "responsible": {
      "id": "00000000-0000-0000-0000-000000000000",
      "displayName": "Mike Zanyatski",
      "title": "Manager",
      "avatarSmall": "url to small avatar",
      "profileUrl": ""
    },
    "updatedBy": {
      "id": "00000000-0000-0000-0000-000000000000",
      "displayName": "Mike Zanyatski",
      "title": "Manager",
      "avatarSmall": "url to small avatar",
      "profileUrl": ""
    },
    "created": "2019-08-20T06:39:08.2206843Z",
    "createdBy": {
      "id": "00000000-0000-0000-0000-000000000000",
      "displayName": "Mike Zanyatski",
      "title": "Manager",
      "avatarSmall": "url to small avatar",
      "profileUrl": ""
    },
    "updated": "2019-08-20T06:39:08.2206843Z"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <canEdit>true</canEdit>
    <canDelete>false</canDelete>
    <id>10</id>
    <title>Sample Title</title>
    <description>Sample description</description>
    <projectOwner>
      <id>123</id>
      <title>Sample project</title>
      <status>0</status>
      <isPrivate>false</isPrivate>
    </projectOwner>
    <deadline>2019-08-20T06:39:08.2206843Z</deadline>
    <isKey>false</isKey>
    <isNotify>false</isNotify>
    <activeTaskCount>15</activeTaskCount>
    <closedTaskCount>5</closedTaskCount>
    <status>0</status>
    <responsible>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </responsible>
    <updatedBy>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </updatedBy>
    <created>2019-08-20T06:39:08.2206843Z</created>
    <createdBy>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </createdBy>
    <updated>2019-08-20T06:39:08.2206843Z</updated>
  </response>
</result>