nevent_update_short_url
Update an existing short URL's configuration. Only provided fields are changed — omitted fields remain unchanged. Changes apply immediately. Use after nevent_list_short_urls to get the id. Supported updates: title, expiresAt (pass null to remove expiration), isActive (true/false), tags (replaces existing), metadata (replaces existing), longUrl (changes redirect destination). Returns the updated ShortUrlDTO. WRITE operation — requires STANDARD or FULL operation mode. In READ_ONLY mode this tool returns an operation_not_permitted error immediately without making any API call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | MongoDB ObjectId of the short URL (24 hex characters). Obtain from nevent_list_short_urls response field "id". | |
| tags | No | New tag list. Replaces (not merges) the existing tags. | |
| title | No | New descriptive title (max 200 chars). Replaces the existing title. | |
| longUrl | No | New destination URL. Changes where existing links redirect to — takes effect immediately. | |
| isActive | No | Activate (true) or deactivate (false) the short URL. Deactivated links stop redirecting immediately. | |
| metadata | No | New metadata object. Replaces (not merges) the existing metadata. | |
| expiresAt | No | New expiration date/time (ISO 8601). Pass null to remove an existing expiration and make the link permanent. Omit this field entirely to leave expiration unchanged. |