tools > url

Update Shortened URL

Update the destination or expiration date of an existing shortened URL. Expiring links cannot be updated into a permalink.

put/tools/url/{linkId}

Request

  • Base URL: https://api.pinnacle.sh
  • URL: https://api.pinnacle.sh/tools/url/{linkId}
  • Auth: API key in header PINNACLE-API-KEY

Path parameters

linkIdstring required

Unique identifier from your shortened URL. For example, for https://pncl.to/ePzVxILF, the linkId is ePzVxILF. <br>

See the response of Create Shortened URL for more information.

Request body

urlstring

New destination URL where your visitors will be redirected.

Response

Returns the updated shortened URL and its configuration.

urlstring required

Your custom shortened link following the format https://pncl.to/{linkId}, where {linkId} is the unique identifier for the URL that can be used with our other endpoint.

Changes

No recorded changes to this operation across all 1 revision of this API.