palbaseDocs

Palbase Journeys · API

DELETE/journeys/{key}

Delete a journey

Deletes a journey, its runs and its report; the people in a live one leave it at once, and nothing more is sent them.

Called by your server, with the project's secret key.

Path

keystring · requiredThe journey's key
curl
curl -X DELETE "https://<your-ref>.palbase.studio/journeys/<key>" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

204Deleted

401No valid credentials

403Not the project's secret key (secret_key_required)

404The project has no journey of this key (journey_not_found)

429Too many requests

503The service is unavailable for a moment; retry

defaultAn error

Operation DeleteJourney of journeys's contract.