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

# Resolve Orphaned Position

> Mark an orphaned position as recovered.

Call after the stranded on-chain position has been closed (or adopted)
externally. Removes the executor from /executors/positions/orphaned and from
agent-facing orphan warnings. Only valid for terminated executors that are
orphan candidates: an involuntary hold (POSITION_HOLD with hold_reason or the
orphaned_position flag), FAILED, or SYSTEM_CLEANUP.



## OpenAPI

````yaml /api-reference/openapi.json post /executors/{executor_id}/resolve-orphan
openapi: 3.1.0
info:
  title: Hummingbot API
  description: API for managing Hummingbot trading instances
  version: 1.0.1
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /executors/{executor_id}/resolve-orphan:
    post:
      tags:
        - Executors
      summary: Resolve Orphaned Position
      description: >-
        Mark an orphaned position as recovered.


        Call after the stranded on-chain position has been closed (or adopted)

        externally. Removes the executor from /executors/positions/orphaned and
        from

        agent-facing orphan warnings. Only valid for terminated executors that
        are

        orphan candidates: an involuntary hold (POSITION_HOLD with hold_reason
        or the

        orphaned_position flag), FAILED, or SYSTEM_CLEANUP.
      operationId: resolve_orphaned_position_executors__executor_id__resolve_orphan_post
      parameters:
        - name: executor_id
          in: path
          required: true
          schema:
            type: string
            title: Executor Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````