Existing people get the same access change; individual removal stays separate (§54).
PATCH
/api/v1/files/invite-links/{id}
const url = 'https://example.com/api/v1/files/invite-links/example';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"access":"example","revoked":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://example.com/api/v1/files/invite-links/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "access": "example", "revoked": true }'Route: /api/v1/files/invite-links/{id}. Inputs: id. Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
Change the link access in place, or undo its revocation, without resetting uses.
object
access
string | null
revoked
boolean | null
Examplegenerated
{ "access": "example", "revoked": true}