Infomaniak URL Shortner icon

Infomaniak URL Shortner

Interact with Infomaniak URL Shortner API

Short URL → Update A Short URL

AI-generated

Summary

Update the properties of an existing short URL by specifying its short URL code and providing the updated data in JSON format.

Inputs

  • Authentication (required) — Choose the authentication method to use: OAuth2 or API Key.
  • Short Url Code (required) — The unique code identifying the short URL to update.
  • Body — A JSON object containing the fields to update for the short URL.
  • Return Full Response — Whether to return the full API response instead of the default formatted output.

Output shape

a list with a single item containing the updated short URL data or the full API response.

The output is returned as a JSON array with one element per execution. If 'Return Full Response' is false, the response is processed to extract the short URL items; otherwise, the entire API response is returned as is.

Examples

Example 1: Update a short URL's target URL or expiration date by specifying the short URL code and providing a JSON body with the desired changes.

Set Authentication to OAuth2 or API Key, enter the Short Url Code to identify the short URL, provide any fields to update in Body as a JSON object, and optionally enable Return Full Response to get full API details.

Links

Discussion