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

# Update Webhook Endpoint

> Updates the URL, subscribed events, or description, and can disable or
re-enable the endpoint. Re-enabling resets the failure counter.



## OpenAPI

````yaml /openapi.json put /webhook-endpoints/{webhookEndpointId}
openapi: 3.1.0
info:
  title: Fortis Evaluations API
  version: 1.0.0
servers:
  - url: https://api.fortiseval.com/v1
    description: Live
  - url: https://sandbox-api.fortiseval.com/v1
    description: Sandbox
security:
  - http: []
paths:
  /webhook-endpoints/{webhookEndpointId}:
    put:
      tags:
        - WebhookEndpoint
      summary: Update Webhook Endpoint
      description: |-
        Updates the URL, subscribed events, or description, and can disable or
        re-enable the endpoint. Re-enabling resets the failure counter.
      operationId: webhook-endpoints.update
      parameters:
        - name: webhookEndpointId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWebhookEndpointRequest'
      responses:
        '200':
          description: '`WebhookEndpointResource`'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookEndpointResource'
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  schemas:
    UpdateWebhookEndpointRequest:
      type: object
      properties:
        url:
          type: string
          format: uri
          maxLength: 1024
        description:
          type:
            - string
            - 'null'
          maxLength: 255
        disabled:
          type: boolean
        events:
          type: array
          items:
            type: string
          minItems: 1
      title: UpdateWebhookEndpointRequest
    WebhookEndpointResource:
      type: object
      properties:
        id:
          type: string
        url:
          type: string
        description:
          type:
            - string
            - 'null'
        events:
          anyOf:
            - type: array
              items: {}
            - type: 'null'
            - type: array
              prefixItems:
                - type: string
                  const: '*'
              minItems: 1
              maxItems: 1
              additionalItems: false
        status:
          type: string
          enum:
            - enabled
            - disabled
        secret:
          type:
            - string
            - 'null'
          description: The signing secret, included only in the creation response.
        last_error_at:
          type: string
        created_at:
          type: string
      required:
        - id
        - url
        - description
        - events
        - status
        - last_error_at
        - created_at
      title: WebhookEndpointResource
  responses:
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors
  securitySchemes:
    http:
      type: http
      scheme: bearer

````