PATCH
/
v1
/
workspaces
/
{workspace_id}
/
links
/
{link_id}
curl --request PATCH \
  --url https://api.ziplink.click/v1/workspaces/{workspace_id}/links/{link_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "alias": "conf2024",
  "domain_id": "ab782971-4d79-47ab-8685-77cf5a34b2bb",
  "expired_redirect_url": "https://example.com/2024-conference-dubai",
  "expires_at": "2023-11-07T05:31:56Z",
  "has_analytics": false,
  "has_qr_code": false,
  "status": "active",
  "title": "Marketing homepage",
  "url": "https://example.com/2024-conference-dubai"
}'
{
  "alias": "conf2024",
  "created_at": "2023-11-07T05:31:56Z",
  "domain_id": "ab782971-4d79-47ab-8685-77cf5a34b2bb",
  "expired_redirect_url": "https://example.com/2024-conference-dubai",
  "expires_at": "2023-11-07T05:31:56Z",
  "has_analytics": false,
  "has_qr_code": false,
  "id": "ab782971-4d79-47ab-8685-77cf5a34b2bb",
  "is_reported": false,
  "qr_code_id": "ab782971-4d79-47ab-8685-77cf5a34b2bb",
  "qr_code_url": "https://example.com/2024-conference-dubai",
  "short_url": "https://zipl.ink/conf2024",
  "status": "active",
  "title": "Marketing homepage",
  "updated_at": "2023-11-07T05:31:56Z",
  "url": "https://example.com/2024-conference-dubai",
  "workspace_id": "ab782971-4d79-47ab-8685-77cf5a34b2bb"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
string
required

ID of the workspace.

Example:

"ab782971-4d79-47ab-8685-77cf5a34b2bb"

ID of the link.

Example:

"ab782971-4d79-47ab-8685-77cf5a34b2bb"

Body

application/json

Response

200
application/json

OK

A link in the system.