API 參考
恢復 Agent 會話
恢復指定標識對應的已撤銷 StableOps Agent 會話,使其能夠在原組織和環境範圍內再次請求動作;適用於管理員確認風險已解除後恢復受控訪問,同時保留既有會話身份與審計鏈路。查閱請求參數、鑑權要求和返回結構,把會話恢復操作安全接入管理後台或運維流程。
POST
/v1/agent/sessions/{id}/restoreAuthorization
bearerAuth AuthorizationBearer <token>
Paste your API key from the dashboard.
In: header
Path Parameters
id*unknown
Agent session id.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/agent/sessions/{id}/restore"{
"id": "string",
"label": "string",
"created_at": "string",
"expires_at": "string",
"revoked_at": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}這篇文件怎麼樣?
最後更新