> ## Documentation Index
> Fetch the complete documentation index at: https://developer.findity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete recent route

> Deletes one of the current user's recent routes. The response is 403 when the recent route is not found or not accessible.



## OpenAPI

````yaml /openapi/findity-expense-api.json delete /me/organizations/{organizationId}/recentroutes/{recentRouteId}
openapi: 3.0.3
info:
  title: Findity Expense API
  description: Findity Expense API
  version: 1.0.0
servers:
  - url: https://stage-api.findity.com/api/v1/expense
  - url: https://api.findity.com/api/v1/expense
security:
  - bearerAuth: []
paths:
  /me/organizations/{organizationId}/recentroutes/{recentRouteId}:
    delete:
      tags:
        - Route
      summary: Delete recent route
      description: >-
        Deletes one of the current user's recent routes. The response is 403
        when the recent route is not found or not accessible.
      operationId: deleteRecentRoute
      parameters:
        - $ref: '#/components/parameters/recentRouteOrganizationId'
        - $ref: '#/components/parameters/recentRouteId'
      responses:
        '204':
          description: No content. The recent route was deleted.
        '401':
          description: The access token is missing, invalid or expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/401Error'
              example:
                result: unauthorized
        '403':
          description: >-
            The recent route or the organization does not exist or the user does
            not have access to it
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403Error'
              example:
                result: error
                description: Recent route not found or access denied
components:
  parameters:
    recentRouteOrganizationId:
      name: organizationId
      in: path
      description: >-
        Required. String in UUID format (32 hex characters, no dashes). The id
        of the organization the recent routes belong to.
      required: true
      schema:
        $ref: '#/components/schemas/Uuid'
      example: 05b8daba9ba14a49846fe77883248cf0
    recentRouteId:
      name: recentRouteId
      in: path
      description: >-
        Required. String in UUID format (32 hex characters, no dashes). The id
        of the recent route to delete, as returned in the `id` property by `GET
        /me/organizations/{organizationId}/recentroutes`.
      required: true
      schema:
        $ref: '#/components/schemas/Uuid'
      example: 9f2c41b7d3a84e5c8b6a1d0e7f394a52
  schemas:
    401Error:
      type: object
      properties:
        result:
          type: string
        description:
          type: string
    403Error:
      type: object
      properties:
        result:
          type: string
        description:
          type: string
    Uuid:
      type: string
      pattern: ^[0-9a-fA-F]{32}$
      description: UUID without dashes (32-character hex string)
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````