Skip to main content

Spaces

This category lists the 5 Runtime system commands under system.space..

1. Create invitation​

Full name: system.space.invitation.create

Create one space invitation code for the current space and return the code. The code admits the invited email into the department of the current space and stays readable through system.space.invitation.list. · Risk: Write

sl system space invitation create \
[--email value|--email-domain value] [--department-id <uuid>] \
[--expires-in-days n] [--max-uses n] [--json]

Parameters: none beyond common options such as --json.

2. List invitations​

Full name: system.space.invitation.list

List space invitation codes of the current space with their code, department, audience, usage, status and expiry. A code whose department is disabled or removed can no longer admit members. · Risk: Read

sl system space invitation list \
[--status active|revoked] [--limit n] [--json]

Parameters: none beyond common options such as --json.

3. Revoke invitation​

Full name: system.space.invitation.revoke

Revoke one active space invitation code so it can no longer admit members. · Risk: Write

sl system space invitation revoke --invitation-id <uuid> [--json]

Parameters: none beyond common options such as --json.

4. Delete invitation​

Full name: system.space.invitation.delete

Delete space invitation codes permanently, including their redemption records. Use revoke when the code should stay visible as revoked. · Risk: High risk

sl system space invitation delete --invitation-id <uuid> [--json]

Parameters: none beyond common options such as --json.

5. Join space​

Full name: system.space.join

Redeem a space invitation code presented by an invited person to admit them into the current space. The invited email determines the member, so a redeemed code is idempotent for the same email. · Risk: Write

sl system space join --code <CODE> --email value [--name value] [--json]

Parameters: none beyond common options such as --json.