# Update Smart Link

Updates supplied Smart Link settings; omitted fields stay. Target changes affect links already in use. Changing multiValue from true to false is irreversible and queues deduplication of existing taggings; it requires user confirmation and confirmSingleValue.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "minimum": 1
    },
    "name": {
      "type": [
        "null",
        "string"
      ],
      "default": null,
      "minLength": 1,
      "maxLength": 250
    },
    "url": {
      "type": [
        "null",
        "string"
      ],
      "default": null,
      "maxLength": 1024
    },
    "notes": {
      "type": [
        "null",
        "string"
      ],
      "default": null,
      "maxLength": 1000
    },
    "metaLabels": {
      "type": [
        "array",
        "null"
      ],
      "description": "Omit to preserve labels; an empty list clears them",
      "default": null,
      "items": {
        "type": "string"
      }
    },
    "multiValue": {
      "type": [
        "null",
        "boolean"
      ],
      "default": null
    },
    "confirmSingleValue": {
      "type": "boolean",
      "default": false
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "id",
    "name",
    "notes",
    "metaLabels",
    "url",
    "multiValue",
    "editUrl"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "id": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "notes": {
      "type": "string"
    },
    "metaLabels": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "url": {
      "type": "string"
    },
    "multiValue": {
      "type": "boolean"
    },
    "editUrl": {
      "type": "string"
    }
  }
}
```

