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

# Remove a task's dependency

> The task no longer depends on `depends_on_task_id`; dates stay as they are, as in the app. A dependency that does not exist is a 404. Answers the task's dependencies after the change. `blocked_by` are the tasks this one depends on and `blocking` the tasks that depend on it, each with its `title`, `status`, `start_date` and `due_date` (YYYY-MM-DD) and `parent`, soonest due first; deleted tasks are left out.



## OpenAPI

````yaml /api/statisfy-api.openapi.json delete /v1/objects/task/records/{task_id}/dependencies/{depends_on_task_id}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/objects/task/records/{task_id}/dependencies/{depends_on_task_id}:
    delete:
      tags:
        - task_relations
      summary: Remove a task's dependency
      description: >-
        The task no longer depends on `depends_on_task_id`; dates stay as they
        are, as in the app. A dependency that does not exist is a 404. Answers
        the task's dependencies after the change. `blocked_by` are the tasks
        this one depends on and `blocking` the tasks that depend on it, each
        with its `title`, `status`, `start_date` and `due_date` (YYYY-MM-DD) and
        `parent`, soonest due first; deleted tasks are left out.
      operationId: task_relations_remove_dependency
      parameters:
        - description: The task that is blocked
          in: path
          name: task_id
          required: true
          schema:
            type: string
        - description: The task it is blocked by
          in: path
          name: depends_on_task_id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskDependencies'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    TaskDependencies:
      properties:
        blocked_by:
          description: The tasks this one depends on, soonest due first
          items:
            $ref: '#/components/schemas/LinkedTask'
          title: Blocked By
          type: array
        blocking:
          description: The tasks that depend on this one, soonest due first
          items:
            $ref: '#/components/schemas/LinkedTask'
          title: Blocking
          type: array
        task_id:
          title: Task Id
          type: string
      required:
        - task_id
      title: TaskDependencies
      type: object
    LinkedTask:
      properties:
        due_date:
          anyOf:
            - type: string
            - type: 'null'
          description: YYYY-MM-DD
          title: Due Date
        id:
          title: Id
          type: string
        parent:
          anyOf:
            - type: string
            - type: 'null'
          description: The id of its parent task
          title: Parent
        start_date:
          anyOf:
            - type: string
            - type: 'null'
          description: YYYY-MM-DD
          title: Start Date
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
      required:
        - id
      title: LinkedTask
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.