bymundi API

Delete a trip template

DELETE/v1/trip-templates/{templateId}

Deletes a trip template, as Delete in Catalog → Trips. Trips already created from it are not affected. Refused with 409 being_edited while it is open in the builder (deleting it would delete that working copy with it). Undo with POST /changes/{changeId}/revert: it re-creates the same template, same id.

Permissions: catalog:write · Kind: destructive · Cost: 1 unit · MCP tool delete_trip_template

Undoable: the response carries Bymundi-Change-Id; revert it with POST /v1/changes/{changeId}/revert.

Path parameters

Field Type Required Description
templateId uuid yes

Query parameters

None.

Response 200

Field Type Required Description
object "trip_template" yes
id uuid yes
deleted true yes

Errors

Errors are problem details. Besides the refusals described above, any call like this one can return: