# Update external hotlink

Partially updates an existing External Hotlink. Only provided fields will be updated.

Endpoint: PATCH /site/{siteId}/ahds/v1/external-hotlink/{externalHotlinkId}
Version: 1.0
Security: bearer

## Security:

  - `bearer` (unknown)
    http bearer JWT

## Path parameters:

  - `siteId` (number, required)
    Site identifier

  - `externalHotlinkId` (string, required)
    External Hotlink unique identifier (UUID)

## Request fields (application/json):

  - `description` (string)
    Human-readable description or label for the hotlink.
    Example: Example description

  - `extensions` (object)
    Vendor- or practice-specific extensions.

  - `resourceId` (string)
    Identifier of the resource this hotlink is associated with.
    Example: 123e4567-e89b-12d3-a456-426614174000

  - `resourceType` (string)
    Type of resource this hotlink is associated with (e.g., animal, contact, invoice).
    Example: example

  - `status` (string)
    Lifecycle status of the external hotlink.
    Enum: "active", "inactive"

  - `url` (string)
    Target URL of the external hotlink.
    Example: https://example.com

## Response 200:

  - `200` (unknown)
    External Hotlink updated successfully

## Response 200 fields (application/json):

  - `createdAt` (string, required)
    Timestamp when this hotlink was created.
    Example: 2025-01-01T00:00:00.000Z

  - `description` (string, required)
    Human-readable description or label for the hotlink.
    Example: Example description

  - `extensions` (object, required)
    Vendor- or practice-specific extensions.

  - `externalHotlinkId` (string, required)
    Canonical identifier for this external hotlink.
    Example: 123e4567-e89b-12d3-a456-426614174000

  - `resourceId` (string, required)
    Identifier of the resource this hotlink is associated with.
    Example: 123e4567-e89b-12d3-a456-426614174000

  - `resourceType` (string, required)
    Type of resource this hotlink is associated with (e.g., animal, contact, invoice).
    Example: example

  - `status` (string, required)
    Lifecycle status of the external hotlink.
    Enum: "active", "inactive"

  - `updatedAt` (string, required)
    Timestamp when this hotlink was last updated.
    Example: 2025-01-01T00:00:00.000Z

  - `url` (string, required)
    Target URL of the external hotlink.
    Example: https://example.com

## Response 400:

  - `400` (unknown)
    Invalid request body

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 404:

  - `404` (unknown)
    External Hotlink not found

