API ReferenceWorker Protocol
Release all file locks for a session
Release all file locks for a session - Rensei REST API operation reference.
Authorization
workerJwt AuthorizationBearer <token>
Runtime JWT minted by the platform at worker registration. Three-segment dotted string. Claims include {jti, proj, org, sub (=workerId), reg, scope[]}. Use on all post-registration worker endpoints.
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
workerId?string
Response Body
application/json
application/json
curl -X POST "https://example.com/api/sessions/string/files/release-all" \ -H "Content-Type: application/json" \ -d '{}'{
"released": 0
}{
"error": "Session not found"
}