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

# Edit a task: text on a draft/managed plan, status & assignee on a managed plan



## OpenAPI

````yaml /openapi-v1.json patch /v1/action-plans/{id}/tasks/{taskId}
openapi: 3.0.0
info:
  title: Woku Client API v1
  description: >-
    Public REST API for programmatic management of woku Voice-of-Customer
    programs: trackers, VoC instruments (NPS, woku, CES, CSAT), action plans,
    support tickets, multi-channel sending and response capture. Requests are
    company-scoped by the API key; never send a company id.
  version: 1.0.0
  contact:
    name: Woku
    url: https://woku.app
    email: team@woku.app
servers:
  - url: https://clientapi.woku.app
    description: Production
security: []
tags: []
paths:
  /v1/action-plans/{id}/tasks/{taskId}:
    patch:
      tags:
        - v1 - action-plans
      summary: >-
        Edit a task: text on a draft/managed plan, status & assignee on a
        managed plan
      operationId: V1ActionPlansController_updateTask
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
            format: ObjectId
        - name: taskId
          required: true
          in: path
          schema:
            type: string
            format: ObjectId
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateActionPlanTaskDto'
      responses:
        '200':
          description: ''
        '409':
          description: Plan is not a draft or managed
      security:
        - bearer: []
components:
  schemas:
    UpdateActionPlanTaskDto:
      type: object
      properties:
        text:
          type: string
          maxLength: 160
          description: New task text.
        status:
          type: string
          enum:
            - todo
            - in_progress
            - done
        assigneeId:
          type: string
          description: Group member responsible; null/"" clears the assignee.
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: Company secret API key.

````