Skip to main content
POST
/
prop
/
journeys
/
{journey_id}
/
cancel
Cancel Journey
curl --request POST \
  --url https://api.{your-broker}.slate-labs.com/prop/journeys/{journey_id}/cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>"
}
'
{
  "ok": true,
  "journey_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

journey_id
string<uuid>
required

Body

application/json
reason
string
required
Required string length: 1 - 500

Response

Successful Response

ok
boolean
required
journey_id
string<uuid>
required
status
string
required