Bitsy Link
Update Bitsy Link
Update an existing Bitsy Link
PUT
/
link
/
update
curl --request PUT \
--url https://api.bsy.sh/v1/link/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"favicon": "<string>",
"title": "<string>",
"custom_link": "<string>",
"tags": [
"<string>"
],
"has_utm": true,
"utm_source": "<string>",
"utm_medium": "<string>",
"utm_campaign": "<string>",
"utm_term": "<string>",
"utm_content": "<string>",
"has_opengraph": true,
"meta_title": "<string>",
"meta_description": "<string>",
"meta_image": "<string>",
"has_android_targeting": true,
"android_target_url": "<string>",
"has_ios_targeting": true,
"ios_target_url": "<string>",
"has_windows_targeting": true,
"windows_target_url": "<string>",
"has_linux_targeting": true,
"linux_target_url": "<string>",
"has_geo_targeting": true,
"geo_targets": [
{
"country_id": "AD",
"target_url": "<string>"
}
],
"has_cloaking": true,
"has_password": true,
"password": "<string>",
"password_logo": "<string>",
"has_expiration": true,
"expiration": "2023-11-07T05:31:56Z",
"expiration_clicks": "<string>"
}'
{
"status": "success",
"message": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Update the details of a Bitsy Link
The body is of type object
.
Response
200
application/json
Link updated successfully
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.bsy.sh/v1/link/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"favicon": "<string>",
"title": "<string>",
"custom_link": "<string>",
"tags": [
"<string>"
],
"has_utm": true,
"utm_source": "<string>",
"utm_medium": "<string>",
"utm_campaign": "<string>",
"utm_term": "<string>",
"utm_content": "<string>",
"has_opengraph": true,
"meta_title": "<string>",
"meta_description": "<string>",
"meta_image": "<string>",
"has_android_targeting": true,
"android_target_url": "<string>",
"has_ios_targeting": true,
"ios_target_url": "<string>",
"has_windows_targeting": true,
"windows_target_url": "<string>",
"has_linux_targeting": true,
"linux_target_url": "<string>",
"has_geo_targeting": true,
"geo_targets": [
{
"country_id": "AD",
"target_url": "<string>"
}
],
"has_cloaking": true,
"has_password": true,
"password": "<string>",
"password_logo": "<string>",
"has_expiration": true,
"expiration": "2023-11-07T05:31:56Z",
"expiration_clicks": "<string>"
}'
{
"status": "success",
"message": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.