Update URL details
PUT
/url/{id}This endpoint updates details of a shortened URL by its ID.
Request
Path Params
id
string
required
The ID of the shortened URL
Body Params application/json
url
string
optional
The new URL to be shortened
tags
array[string]
optional
Updated tags associated with the URL
utmSource
string
optional
Updated UTM source parameter
utmMedium
string
optional
Updated UTM medium parameter
utmCampaign
string
optional
Updated UTM campaign parameter
utmTerm
string
optional
Updated UTM term parameter
utmContent
string
optional
Updated UTM content parameter
Example
{
"url": "http://showy-paddock.net",
"tags": [
"dolores"
],
"utmSource": "sint culpa Duis voluptate Excepteur",
"utmMedium": "irure nostrud esse",
"utmCampaign": "pariatur",
"utmTerm": "esse",
"utmContent": "Libero nam minus ducimus. Fugit facilis excepturi accusamus. Veritatis corrupti qui occaecati."
}
Request samples
Responses
URL updated successfully(200)
Validation Error(400)
Unauthorized(401)
Internal Server Error(500)
URL updated successfully
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: 5 months ago