Update a milestone
PUT /api/2.0/project/milestone/{id:[0-9]+}
Request
Updates the selected milestone changing the milestone parameters (title, deadline, status, etc.) specified in the request.
Authorization
An API key is a token that you provide when making API calls. Include the token in a header parameter called Authorization
.
Example: Authorization: 864FE52C-1C1C-469F-9308-51DAFEFE7436
.
Headers
- Accept
enum of string
Can be one of:
application/json
.- Content-Type
enum of string
Can be one of:
application/json
.
Body
- id
integer
Milestone ID
- title
string
New milestone title
- deadline
string
New milestone deadline
- isKey
array of boolean
Specifies if this is a key milestone or not
- status
integer
New milestone status ("Open" or "Closed")
- isNotify
array of boolean
Specifies whether to remind me 48 hours before the milestone due date or not
- description
string
New milestone description
- projectID
integer
New project ID
- responsible
string
New milestone responsible
- notifyResponsible
boolean
Specifies whether to notify responsible about the milestone actions or not
Examples
PUT /api/2.0/project/milestone/%7Bid:[0-9]+%7D HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: example.com
curl --request PUT \
--url 'https://example.com/api/2.0/project/milestone/%7Bid:[0-9]+%7D' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Responses
200
Updated milestone
- ProjectOwner
object
- Id
integer
int32 - Title
string
- Status
integer
int32 - IsPrivate
boolean
- Deadline
string
- IsKey
boolean
- IsNotify
boolean
- CanEdit
boolean
- CanDelete
boolean
- ActiveTaskCount
integer
int32 - ClosedTaskCount
integer
int32 - Created
string
- CreatedBy
object
- Id
string
uuid - DisplayName
string
- Title
string
- AvatarSmall
string
- ProfileUrl
string
- CreatedById
string
uuid - Updated
string
- UpdatedBy
object
- Id
string
uuid - DisplayName
string
- Title
string
- AvatarSmall
string
- ProfileUrl
string
- UpdatedById
string
uuid - Id
integer
int32 - Title
string
- Description
string
- Status
integer
int32 - Responsible
object
- Id
string
uuid - DisplayName
string
- Title
string
- AvatarSmall
string
- ProfileUrl
string
- ResponsibleId
string
uuid
401
Unauthorized