> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Change a journey

PATCH`/workspace/{orgId}/journeys/{id}`

Any of name, trigger, steps (send a step’s id to keep it), exit, goal and entry. A live journey changes only its name: pause it first. Owners and admins.

## Path Parameters

`orgId`

numberrequired

`id`

numberrequired

## Response

200

**cURL**

```bash
curl --request PATCH \
  --url 'https://api.workover.io/workspace/{orgId}/journeys/{id}'
```

**JavaScript**

```javascript
const options = {
  method: 'PATCH'
};

fetch('https://api.workover.io/workspace/{orgId}/journeys/{id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/workspace/{orgId}/journeys/{id}"

response = requests.patch(url)

print(response.text)
```
