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

# Update an entity webhook endpoint

> Workspace-scoped; requires a workspace owner or Octave admin API key. Requires write API access. Signing secrets are returned only on creation or rotation; store them securely. Replaces the endpoint configuration; all configuration fields are required. 



## OpenAPI

````yaml post /api/v2/entity-webhook/update
openapi: 3.0.0
info:
  version: 6.0.0
  title: Octave API
  description: API for Octave workspace management and AI-powered content generation
servers:
  - url: https://app.octavehq.com
security:
  - ApiKeyAuth: []
paths:
  /api/v2/entity-webhook/update:
    post:
      tags:
        - Entity Webhooks
      summary: Update an entity webhook endpoint
      description: >-
        Workspace-scoped; requires a workspace owner or Octave admin API key.
        Requires write API access. Signing secrets are returned only on creation
        or rotation; store them securely. Replaces the endpoint configuration;
        all configuration fields are required. 
      operationId: updateEntityWebhook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 100
                url:
                  type: string
                  maxLength: 2048
                  format: uri
                enabled:
                  type: boolean
                actions:
                  type: array
                  items:
                    type: string
                    enum:
                      - created
                      - updated
                      - deleted
                  minItems: 1
                  maxItems: 3
                entityTypes:
                  type: array
                  nullable: true
                  items:
                    type: string
                    enum:
                      - product
                      - service
                      - solution
                      - persona
                      - segment
                      - use_case
                      - reference
                      - proof_point
                      - core_feature
                      - competitor
                      - alternative
                      - buying_trigger
                      - objection
                      - brand_voice
                      - skill
                      - motion
                      - motion_playbook
                  minItems: 1
                  maxItems: 17
                oId:
                  type: string
                  minLength: 1
              required:
                - name
                - url
                - enabled
                - actions
                - entityTypes
                - oId
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  endpoint:
                    type: object
                    properties:
                      name:
                        type: string
                        minLength: 1
                        maxLength: 100
                      url:
                        type: string
                        maxLength: 2048
                        format: uri
                      enabled:
                        type: boolean
                      actions:
                        type: array
                        items:
                          type: string
                          enum:
                            - created
                            - updated
                            - deleted
                        minItems: 1
                        maxItems: 3
                      entityTypes:
                        type: array
                        nullable: true
                        items:
                          type: string
                          enum:
                            - product
                            - service
                            - solution
                            - persona
                            - segment
                            - use_case
                            - reference
                            - proof_point
                            - core_feature
                            - competitor
                            - alternative
                            - buying_trigger
                            - objection
                            - brand_voice
                            - skill
                            - motion
                            - motion_playbook
                        minItems: 1
                        maxItems: 17
                      oId:
                        type: string
                      createdAt:
                        type: string
                        format: date-time
                    required:
                      - name
                      - url
                      - enabled
                      - actions
                      - entityTypes
                      - oId
                      - createdAt
                  secret:
                    type: string
                required:
                  - _metadata
                  - endpoint
        '403':
          description: Insufficient permission or read-only key
        '404':
          description: Endpoint not found in this workspace
components:
  schemas:
    Metadata:
      type: object
      properties:
        usage:
          type: number
          default: 0
          example: 0
          description: API usage
        requestId:
          type: string
          example: requestId
          description: Request ID
        message:
          type: string
          example: message
          description: Message
        timestamp:
          type: string
          example: '2021-01-01T00:00:00.000Z'
          description: Timestamp
      required:
        - requestId
        - timestamp
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key

````