---
title: "Delete instance"
method: POST
path: "/journey/state/delete"
tags: ["Customer APIs", "Instance management"]
---

# Delete instance

`POST /journey/state/delete`

## Request

- Base URL: `https://eu.platform.go.gbgplc.com/v2/captain`
- URL: `https://eu.platform.go.gbgplc.com/v2/captain/journey/state/delete`
- Auth: HTTP bearer

Delete instance

## Request body

- object
  - `instanceId` string, required: Journey Instance Id, a unique identifier for a started journey instance.

## Response `200`

Delete instance response contains the Journey Instance Id

- object: Delete instance response contains the Journey Instance Id
  - `instanceId` string, required: Journey Instance Id, a unique identifier for a started journey instance.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `405`: Method Not Allowed
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/gbgplc/apis/gbg-go-next-gen-flow-captain-api.md) - [All operations](https://skmtc.dev/gbgplc/apis/gbg-go-next-gen-flow-captain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gbgplc/apis/gbg-go-next-gen-flow-captain-api/revisions/f4b64916866a?raw)
