kochira
  1. shortening
kochira
  • account
    • auth
      • Register
      • Login
      • Logout
      • Refresh
      • Infer
  • account
  • link
    • shortening
      • My Endpoints
        GET
      • Get By Id
        GET
      • Create
        POST
      • Update By Id
        PUT
      • Delete By Id
        DELETE
    • redirect
      • Redirect
  • subscription
    • Get Self
      GET
  1. shortening

Update By Id

PUT
/link/api/v1/link/{id}

Request

Path Params

Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

🟠403Forbidden
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/link/api/v1/link/39' \
--header 'Authorization: {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "shortened": "vjOWZG5MHsihjQL",
    "destination": "https://chatgpt.com",
    "is_open": true
}'
Response Response Example
200 - Success
null
Modified at 2025-10-10 00:35:46
Previous
Create
Next
Delete By Id
Built with