> ## 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.

# Update an action plan group



## OpenAPI

````yaml /openapi-v1.json patch /v1/action-plan-groups/{id}
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-plan-groups/{id}:
    patch:
      tags:
        - v1 - action-plan-groups
      summary: Update an action plan group
      operationId: V1ActionPlanGroupsController_update
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
            format: ObjectId
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateActionPlanGroupDto'
      responses:
        '200':
          description: ''
        '400':
          description: Validation error
        '404':
          description: Group not found
      security:
        - bearer: []
components:
  schemas:
    UpdateActionPlanGroupDto:
      type: object
      properties:
        notificationEmails:
          description: Additional email recipients; grants no membership.
          type: array
          items:
            type: string
        name:
          type: string
          maxLength: 120
        description:
          type: string
          maxLength: 500
          description: Empty string clears.
        conditions:
          type: array
          items:
            $ref: '#/components/schemas/ActionPlanGroupConditionDto'
        members:
          type: array
          items:
            $ref: '#/components/schemas/ActionPlanGroupMemberDto'
        threshold:
          type: number
          minimum: 1
    ActionPlanGroupConditionDto:
      type: object
      properties:
        relationToPrevious:
          type: string
          enum:
            - AND
            - OR
        trackerId:
          type: string
          description: CompanyExternalTracker id.
        operator:
          type: string
          enum:
            - equals
            - any
          default: equals
        value:
          type: string
          description: The value the tracker must equal. Required unless operator is "any".
      required:
        - trackerId
    ActionPlanGroupMemberDto:
      type: object
      properties:
        userId:
          type: string
          description: Company member user id.
        role:
          type: string
          enum:
            - admin
            - assignee
      required:
        - userId
        - role
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: Company secret API key.

````