Skip to main content
Koru
Get started
API reference sections

Schema

WorkspaceLifecycleRequest

The one destructive workspace operation's body.

The consequence is presented by the caller and accepted before this is sent (rev 4 §4.2 step 2, S13). What crosses is the acceptance: the token the gateway issued alongside the consequence it computed, round-tripped unchanged - see [WorkspaceConfirmation].

It is still not a credential: the scope is what authorizes the operation. What the token adds is that the acceptance is about something. A token the gateway does not recognise, one issued for another workspace or another action, one already spent, or one that has expired is refused before anything is closed.

Type object

Shape

FieldTypeDescription
actionrequiredWorkspaceLifecycleAction

What POST /v1/workspaces/{id}/lifecycle is being asked to do.

Three verbs, and no permanent delete. There is no purge route anywhere in Koru - the retention sweep is the only thing that removes bytes - so naming one here would be describing an operation that does not exist.

confirmationrequiredstring
replacement_namestring

Localized default for a required replacement. Older callers use the protocol's English fallback; this is not a second creation operation.

Default "My Workspace"

removal_attemptRemovalAttemptId or null
Example
{
  "action": "archive",
  "confirmation": "string",
  "replacement_name": "My Workspace",
  "removal_attempt": "00000000-0000-4000-8000-000000000000"
}

The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.

Used by

Generated from contract version 1. Last updated .

Privacy choices

Choose which optional tools Koru may use on this site. Your choice is saved in a cookie in this browser for 12 months. Privacy policy

Privacy choices

Keep you signed in, protect forms and remember your language and this choice.

Always on

PostHog and Google Analytics 4 measure page views and actions such as downloads, using cookies or local storage.

PostHog records how pages are used, with form inputs masked and private pages excluded. Needs Analytics.

Ahrefs Web Analytics measures visits and where they come from, and Google Ads measures whether our ads led to a visit or download.