API Reference
Update Short URL
This API allows you to update a short link by providing the domain, slug, and new information.
Header Parameters
Authorization*string
API key
Request Body
application/json
request
domain*string
domain is the domain name
Default
"s.ee"Length
length <= 255slug*string
slug is the short URL slug
Length
length <= 255target_url*string
target_url is the original URL
Length
length <= 255title*string
title is the title of the short URL
Length
length <= 255Response Body
application/json
curl -X PUT "https://s.ee/api/v1/shorten" \ -H "Authorization: string" \ -H "Content-Type: application/json" \ -d '{ "domain": "s.ee", "slug": "string", "target_url": "string", "title": "string" }'{
"code": 0,
"data": {
"tags": [
{
"id": 0,
"name": "string"
}
]
},
"message": "string"
}