---
title: "Archive a journey (soft delete)"
method: DELETE
path: "/v2/journeys/{journey_id}"
tags: ["journeys-v2"]
---

# Archive a journey (soft delete)

`DELETE /v2/journeys/{journey_id}`

## Request

- Base URL: `https://api.tracklysms.com/api`
- URL: `https://api.tracklysms.com/api/v2/journeys/{journey_id}`
- Auth: API key in header `X-Api-Key`

## Response `200`

Journey archived

- JourneySummaryResponse
  - `journey` WelcomeJourneySummary
    - `completedCount` integer: Completed enrollments
    - `createdAt` string, nullable: Creation timestamp
    - `enrolledCount` integer: Active enrollments
    - `id` string: Journey ID
    - `name` string: Journey name
    - `pauseReason` string, nullable: Reason for an automatic pause, when present
    - `priority` integer: Journey routing priority
    - `status` string: Journey status
    - `stepCount` integer: Number of steps
    - `triggerSummary` string: Enrollment trigger summary
    - `updatedAt` string, nullable: Last update timestamp
  - `message` string
  - `success` boolean

## Other responses

- `401`: Authentication error
- `403`: Insufficient authority
- `404`: Journey not found
- `500`: Unexpected error

---

[API](https://skmtc.dev/tracklysms/apis/trackly-sms-api.md) · [All operations](https://skmtc.dev/tracklysms/apis/trackly-sms-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tracklysms/apis/trackly-sms-api/revisions/ac1ad22cb2a9?raw)
