---
search:
  tags:
    - sites
    - POST
seo:
  description: >-
    The old share_url stops working, and visitors who opened the site with it
    lose… Reference for the POST /v1/sites/{site}/link endpoint in the pols.so
    API.
sidebar:
  label: Give a site a new share link
  badge: POST
title: Give a site a new share link
type: openapi-operation
---
The old `share_url` stops working, and visitors who opened the site
with it lose access, within seconds. Works whatever the access mode,
so a link can be replaced before the site is switched to `link`.
Switching a site away from `link` rotates its link too.

`POST /v1/sites/{site}/link`
