| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

### Payload Schema

- **identifier**  
  - **type:** uuid  
  - **required**  
  - taskFlow unique identifier

- **companyUuid**  
  - **type:** uuid  
  - **required**

- **status**  
  - **type:** string  
  - **enum**  
  - **required**  
  - Allowed: `draft`, `published`, `archived`

- **title**  
  - **type:** string  
  - **required**

- **internalName**  
  - **type:** string

- **description**  
  - **type:** string

- **taskUuids**  
  - **type:** array of uuids  
  - taskUuids  
  - ADD uuid

- **isTaskFlowSequential**  
  - **type:** boolean  
  - Allowed: true, false

- **segmentUuids**  
  - **type:** array of uuids  
  - segmentUuids  
  - ADD uuid

- **autoAssignToNewWorkers**  
  - **type:** boolean  
  - Allowed: false, true

- **taskFlowType**  
  - **type:** string  
  - **enum**  
  - Allowed: `preboarding`, `onboarding`, `test`

- **messages**  
  - **type:** object

- **deadline**  
  - **type:** object

- **reminder**  
  - **type:** object

- **redirectUrl**  
  - **type:** uri

### Example Request

```bash
curl --request PATCH \
     --url https://services.fountain.com/api/servicetodo/taskFlows/identifier \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"status":"draft"}'
```

### Response Codes

- **202**  
  - updated taskFlow. Wrapped in a JsonAPI root response.

- **500**  
  - default error response

Updated about 2 months ago
