Companies
Change when a secure link expires
Extends or shortens one of your team's secure links that still opens: expiresAtUtc at least an hour from now and at most 31 days after the link was created, since its report is the company as it was then. To end it at once, revoke it (DELETE /companies/secure-links/{secureLinkId}).
Enterprise+ tier
PATCHhttps://lens-api.tic.io/companies/secure-links/{secureLinkId}
- Extends or shortens a secure link that still opens.
expiresAtUtc: at least 1 hour from now and at most 31 days after the link was created, since its report shows the company as it was then.- A link that has expired or was revoked answers
409: create a new one. - To end a link at once: Revoke a secure link.
Authorization
x-api-keystringheaderrequiredYour API key, sent in the x-api-key header.
Path parameters
secureLinkIdintegerrequiredThe secure link's id (secureLinkId)
Bodyapplication/json
expiresAtUtcstringResponses
The link with its new expiry · application/json
secureLinkIdintegerissuedAtUtcstringexpiresAtUtcstring | nullisActivebooleancreatedByUserIdinteger | nullvisitsintegervisitorsintegerlastVisitedAtUtcstring | nullannualReportsOpenedintegerExpiresAtUtc less than an hour from now or more than 31 days after the link was created
No such secure link in your team
The link has expired or was revoked