# /api/routing/change\_route\_points

## Status

- Latest Version: v1.5.0
- Method: function call
- Data Type: [autoware\_adapi\_v1\_msgs/srv/SetRoutePoints](<../../../../types/autoware_adapi_v1_msgs/srv/SetRoutePoints/index.md>)

## Description

Same as [/api/routing/set\_route\_points](<../set_route_points/index.md>), but change the route while driving. This API only accepts the route when the route state is SET. In any other state, set the route first or wait for the route change to complete.

## Request

| Name | Type | Description |
| --- | --- | --- |
| header | std\_msgs/msg/Header | header for pose transformation |
| option | autoware\_adapi\_v1\_msgs/msg/RouteOption | route options, see [routing](<../../../../features/routing/index.md>) |
| goal | geometry\_msgs/msg/Pose | goal pose |
| waypoints | geometry\_msgs/msg/Pose\[\] | waypoint poses |

## Response

| Name | Type | Description |
| --- | --- | --- |
| status | autoware\_adapi\_v1\_msgs/msg/ResponseStatus | response status |
