# Delete traveller journey

{% openapi src="<https://2745779787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3Mz58ywsyckDBxRQPsJf%2Fuploads%2Fgit-blob-e4fb17c5b0e22e04724315d184ccee298927525d%2F50skills%20Journeys%20API%202.yaml?alt=media>" path="v1/traveller-journeys/{short\_id}/" method="delete" expanded="true" %}
[50skills Journeys API 2.yaml](https://2745779787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3Mz58ywsyckDBxRQPsJf%2Fuploads%2Fgit-blob-e4fb17c5b0e22e04724315d184ccee298927525d%2F50skills%20Journeys%20API%202.yaml?alt=media)
{% endopenapi %}

{% tabs %}
{% tab title="Python" %}

```python

import requests
requests.delete(
    "https://journeys-api.50skills.app/v1/journey-actions/9rKdez72",
)                       
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
fetch("https://journeys-api.50skills.app/v1/journey-actions/9rKdez72", {
  method: "DELETE"
})
  .then(response => {
    if (response.ok) {
      console.log("Journey action deleted successfully");
    } else {
      console.error("Failed to delete journey action");
    }
  })
  .catch(error => console.error(error));                       
```

{% endtab %}
{% endtabs %}
