Give the public link a new URL
Owner only. The old URL stops working at once; the expiry is kept. 404 (share.not_found) when the link is off or expired.
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 with its new link
application/json- response
id*stringname*stringitem_count*integerLive items in the list, from every member
role*stringThe caller's role in the list
"owner""editor""viewer"owner_email?stringWho shared the list. Not present on the caller's own lists
member_count?integerCollaborators and pending invitations. Owner only
public_token?stringSecret in the public link. Owner only, and only while the link is on
public_url?stringThe web page of the public link. Owner only, and only while the link is on
public_expires_at?|When the public link expires; null means never. Owner only, and only while the link is on
date-timecreated_at*stringdate-timeupdated_at*stringdate-timecurl -X POST 'https://example.com/v1/lists/string/public/rotate'{ "id": "string", "name": "string", "item_count": 0, "role": "owner", "owner_email": "string", "member_count": 0, "public_token": "string", "public_url": "string", "public_expires_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}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.
Invitations addressed to you GET
Pending invitations addressed to any email on the caller's account.