/api/v1/cli/unsharePOSTtraces:write. The credential selects the workspace. Errors use a JSON error string; see Errors and limits.403.410. To reshare before the original expiry, the sharer can send a fresh event batch to POST /api/v1/cli/agent-events?share=1. This restores an unshared session and resets its creation and expiry times; deleted events must be sent again. It does not restore expired sessions or sessions removed through the dashboard's forget operation.application/jsonrequiredcurl -X POST "https://app.halfspan.com/api/v1/cli/unshare" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "session": "adbf491d-15fe-4bc7-b23b-cea21fdd8751" }'
{ "unshared": true }