---
title: "Rename or hide a photo-inferred journey stop"
method: POST
path: "/api/trips/{id}/journey/edit"
tags: ["Photos"]
---

# Rename or hide a photo-inferred journey stop

`POST /api/trips/{id}/journey/edit`

## Request

- Base URL: `https://trvlrr.app`
- URL: `https://trvlrr.app/api/trips/{id}/journey/edit`
- Auth: HTTP bearer

Stops are identified by date and position (within about 2 km); an edit near an existing one replaces it.

## Path parameters

- `id` string, required: The trip id.

## Request body

- JourneyEdit
  - `date` string, required: Date, YYYY-MM-DD.
  - `lat` number, required
  - `lon` number, required
  - `name` string, nullable: Rename the stop.
  - `hidden` boolean: Hide the stop.

## Response `200`

Saved.

- Ok
  - `ok` boolean, required

## Other responses

- `400`: The request is malformed or fails validation.
- `401`: No usable credential: a Clerk session token, a device token or an OAuth access token is required.
- `403`: The caller may not do this to this account or trip.

---

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