# Update a schedule item

**PUT /data/schedule-items/{instance_id}**

Update the fields of a schedule item. Send only the fields to change. You cannot change id, created_at, updated_at and project_id. Dates use the ISO 8601 format. A man_days value sent as a string is ignored. You must be an administrator, or a manager or a supervisor of the project. A supervisor with departments can change only the items of a task type of these departments.


## Servers
- /api: /api ()


## Authentication methods
- Jwt authorization


## Parameters

### Path parameters

- **instance_id** (string(uuid))
  Unique identifier of the schedule item



### Body: application/json (object)

- **man_days** (number)



## Responses
### 200
The updated schedule item

#### Body: application/json (object)
- **id** (string(uuid))

- **project_id** (string(uuid))

- **task_type_id** (string(uuid))

- **object_id** (string(uuid))

- **man_days** (number)

- **created_at** (string(date-time))

- **updated_at** (string(date-time))


### 400
The body is not valid, a date is not valid, or a field breaks a database constraint

### 403
You are not a manager or a supervisor of the project, or the task type is not in your departments

### 404
The schedule item does not exist


[Powered by Bump.sh](https://bump.sh)
