Regenerate share token
Files
Regenerate share token
Regenerates (rotates) the public share token for a file, invalidating the old URL and creating a new one.
POST
Regenerate share token
Authorizations
JWT authentication token
Query Parameters
Optional project ID for project-scoped sandbox files
Route file operations to a specific sandbox (cloud or a self-hosted
display name / hostname). When omitted, the user's pinned default is used.
Body
application/json
Full path to the file in the sandbox (e.g., workspace/reports/scan.html)

