Workspaces
Restore a workspace during its grace period
Changed onOwner-only, session-only (BK-512, ADR-0015 point 10). Clears deleted_at on a soft-deleted workspace — no data movement. Reachable from the confirm-time deletion-receipt email even though the workspace is invisible via RLS while deleted, since the underlying RPC resolves ownership directly and bypasses RLS internally.
post/api/v1/workspaces/{id}/restore
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/api/v1/workspaces/{id}/restore
- Auth: API key in cookie sb-fmbpikzpkafptqximhxn-auth-token
Path parameters
idstring uuid required
Response
Workspace restored.
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking