Turn off the public link
Owner only. The old link stops working for good; turning it on again makes a new one. Idempotent.
bearerAuthorizationBearer <token>A personal API key (ga_…), sent as Authorization: Bearer ga_…. A key gets 403 on a resource it has no access to, and on anything that changes data without write access.
id*stringThe list is private
curl -X DELETE 'https://example.com/v1/lists/string/public'Change the expiry of the public link PATCH
Owner only. Keeps the URL. `expires_at` is required (`null` for never). 404 (`share.not_found`) when the link is off or expired.
Turn on the public read-only link PUT
Owner only (403 for editors and viewers). Idempotent: an existing link keeps its URL. The list comes back with `public_token`, `public_url` and `public_expires_at`; the page reads `GET /public/lists/{token}`. With no body or no `expires_at`, a new link never expires and an existing one keeps its expiry; `null` means never. An expired link is replaced by a new URL. `POST` does the same. 402 when the plan lacks `sharing` or is at its `public_links` limit.