Expire print session
expire_print_sessionEnd a Preesy session now, so its files can no longer be printed or downloaded. Use the manage_token of that session from its create_print_session result earlier in the conversation. The manage_token is secret. A session that has already ended returns status expired.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"manage_token": "<manage_token>"
},
"name": "expire_print_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| manage_token | Yes | Secret returned by create_print_session. Keep it private. A label and PIN do not work here. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| status | Yes | ||
| expires_at | No | Expiry time in RFC3339 UTC. | |
| print_only | No |