# Workspace administration

Manage workspace membership, billing and deletion. Grant access to individual ledgers through ledger invitations.

Canonical page: /docs/organization-administration

## Choose a workspace

Sign in to see your workspaces and each role. Selecting a workspace sets the account context. Ledger permissions are granted separately.

```shell
op-sys workspaces list
op-sys selection update --workspace <workspace-id>
```

- [Workspace discovery](/docs/reference/op_sys_workspaces_list)

## Invite someone to a ledger

Choose the permissions the recipient needs. If the ledger is local, creating the invitation guides you through sign-in and publishes the selected ledger’s retained history and files to the service you choose.

Share the returned link after the invitation is ready. The recipient can preview the offer and accept through the page or CLI using their own account. Successful acceptance in the CLI selects the hosted ledger for current work.

```shell
op-sys --output json invitations create --ledger-id <ledger-id> --permissions '["ledger.read","contracts.read","records.read","records.append"]'
op-sys --output json invitations status
```

Note: Keep the invitation link private when sharing with one person. Use the saved operation arguments from status to resume.

- [Ledger invitation details and HTTP operations](/docs/raw/manuals/ledger-core.md#invite-a-participant-to-a-ledger)

## Offer open enrollment for a ledger

Set a join limit to let a larger audience sign in and accept access. Each account uses one place. You can limit appends to specific contract IDs and publish a preview with the ledger’s purpose, contribution instructions, examples and what acceptance signifies.

The preview is shareable with anyone who has the link. Revoking the invitation closes enrollment. Use ledger access controls to withdraw permissions already granted.

```shell
op-sys invitations create --ledger-id <ledger-id> --max-joins 50 --permissions '["ledger.read","contracts.read","records.append"]' --append-contract-ids '["submission"]' --preview @preview.json
```

Note: Admit the submission contract before issuing the invitation. Use the example preview in the ledger sharing guide.

- [Preview example and contract rules](/docs/raw/manuals/ledger-core.md#invite-a-participant-to-a-ledger)

## Invite someone to a workspace

A workspace owner creates a one-time link for a specific email address. Share it directly with the recipient. The invitation offers the Member role.

The browser alternative is Workspace settings. Enter the recipient’s email and choose Create invitation link.

```shell
op-sys --output json invitations create --workspace-id <workspace-id> --email colleague@example.com
```

- [Create and manage workspace invitations](/docs/raw/manuals/team-onboarding.md)

## Join a workspace

Preview the workspace name, offered role and expiry before signing in. Use the verified email address the owner invited. Choose Join workspace or use Copy join command.

Interactive CLI acceptance guides browser approval and selects the joined workspace. Structured clients handle the returned sign-in and selection actions. After joining in the browser, use Open workspace or the sign-in instructions for an agent or terminal. Ledger permissions are granted separately.

```shell
op-sys invitations inspect --invitation "$INVITATION_URL"
op-sys invitations accept --invitation "$INVITATION_URL"
```

- [Workspace invitation API](/docs/raw/manuals/account-administration.md#send-and-accept-a-workspace-invitation)

## Manage membership and invitations

List invitations to see their status and revoke a link to withdraw the offer. Read the current membership revision before changing a role or removing a member. Review separately granted ledger permissions and machine credentials when removing access.

- [Membership operations](/docs/reference#team)

## Billing is a hosted account capability

Managed usage tracks records written, logical storage and search requests. Billing shows current estimates separately from monthly invoices. Evaluation usage is not billed; an unset estimate does not imply a zero price.

- [Billing and usage operations](/docs/reference#billing)

## Request or cancel deletion

Requesting workspace deletion requires a verified owner session and confirmation of the exact workspace ID.

Inspect status for the current deletion ID, generation and deadline. Cancellation is available only while the service still permits it. It cannot restore already deleted data or recreate revoked API keys.

An eligible request proceeds through the service’s automatic worker after the grace period, subject to lifecycle and legal-hold controls. No manual operator step is part of the ordinary consumer flow.

- [Inspect deletion status](/docs/reference/op_sys_deletion_status)
- [Request deletion](/docs/reference/op_sys_deletion_request)
- [Cancel deletion](/docs/reference/op_sys_deletion_cancel)

## Related guides

- [People, agents & access](/docs/raw/access.md)
- [Connections & sharing](/docs/raw/sharing.md)
- [Getting access](/docs/raw/availability.md)
