Langkau ke kandungan
GrowSocmedDokumentasiSocial media command center

Update a short link

Change the target or title, or turn the link off and on

PATCH
/links/{id}

Change the target or title, or turn the link off and on

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Path Parameters

id*string
Formatuuid

Request Body

application/json
  1. body
url?string
Formaturi
Lengthlength <= 2000
title?|
Lengthlength <= 120
status?string
Value in"active""disabled"

Response Body

OK

response?unknownapplication/json
Example Request
curl -X PATCH 'https://socmed.growpaces.com/api/v1/links/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
null