# Update

| **API URL**     | {{url}}/admin-service/clinical-workflow/update |
| --------------- | ---------------------------------------------- |
| **Method**      | PUT                                            |
| **Description** | Update clinical workflow                       |

#### **Input** <a href="#clinicalworkflow-update-input" id="clinicalworkflow-update-input"></a>

| **Field Name** | **Type** | **Mandatory** | **Example**           |
| -------------- | -------- | ------------- | --------------------- |
| id             | Number   | Yes           | 90                    |
| viewScreens    | Array    | No            | Screening, Enrollment |
| tenantId       | Number   | Yes           | 1                     |

#### **Sample Input:** <a href="#clinicalworkflow-update-sampleinput" id="clinicalworkflow-update-sampleinput"></a>

{ "id": 90, "viewScreens": \[ "Screening", "Assessment" ], "tenantId": "1" }

#### **Sample Output:** <a href="#clinicalworkflow-update-sampleoutput" id="clinicalworkflow-update-sampleoutput"></a>

```
{
    "message": "Account workflow updated successfully.",
    "entity": null,
    "status": true,
    "entityList": null,
    "responseCode": 200,
    "totalCount": null
}
```
