await seam.workspaces.resetSandbox();
/*
{
"action_attempt_id": "f8e7d6c5-4b3a-2c1d-9e0f-8a7b6c5d4e3f",
"action_type": "RESET_SANDBOX_WORKSPACE",
"error": null,
"result": {},
"status": "success"
}
*/
{
"action_attempt": {
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "RESET_SANDBOX_WORKSPACE",
"status": "pending",
"result": {},
"error": {
"type": "<string>",
"message": "<string>"
}
}
}Workspaces
Reset a Sandbox Workspace
Resets the sandbox workspace associated with the authentication value. Note that this endpoint is only available for sandbox workspaces.
POST
/
workspaces
/
reset_sandbox
await seam.workspaces.resetSandbox();
/*
{
"action_attempt_id": "f8e7d6c5-4b3a-2c1d-9e0f-8a7b6c5d4e3f",
"action_type": "RESET_SANDBOX_WORKSPACE",
"error": null,
"result": {},
"status": "success"
}
*/
{
"action_attempt": {
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "RESET_SANDBOX_WORKSPACE",
"status": "pending",
"result": {},
"error": {
"type": "<string>",
"message": "<string>"
}
}
}Authorizations
api_keypat_with_workspaceconsole_session_with_workspace
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
OK
Tracks the progress of this operation. Poll using the action_attempt_id. See the action_attempt object.
Show child attributes
Show child attributes
Was this page helpful?