---
title: "Set Route Status to Cancelled."
method: PUT
path: "/v1/resourceowner/routeplanner/route/{routeId}/cancel"
tags: ["ResourceOwnerRoutePlanner"]
---

# Set Route Status to Cancelled.

`PUT /v1/resourceowner/routeplanner/route/{routeId}/cancel`

## Request

- Base URL: `https://api.automile.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.automile.com/v1/resourceowner/routeplanner/route/{routeId}/cancel`
- Auth: OAuth 2
  - Implicit: `https://api.automile.com/login/`

If a cancelled trip later gets 'uncancelled' the cancelling notes will be cleared

## Path parameters

- `routeId` integer, required

## Query parameters

- `notes` string

## Response `200`

Success

## Other responses

- `403`: Not authorized to task
- `500`: Internal server error

---

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