跳到主要内容

组织与成员

该分类包含 15 条以 system.organization. 开头的 Runtime 系统命令。

1. 获取资料​

完整命令:system.organization.profile.get

获取组织资料资源。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:读取

sl system organization profile get [--json]

参数:无(除 --json 等通用选项外)。

2. 更新资料​

完整命令:system.organization.profile.update

更新组织资料资源。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:写入

sl system organization profile update \
[--name value] [--display-name value] [--legal-name value] \
[--contact-email value] [--contact-phone value] \
[--light-logo-url value] [--dark-logo-url value] [--json]

参数:无(除 --json 等通用选项外)。

3. 获取架构​

完整命令:system.organization.structure.get

获取组织架构资源。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:读取

sl system organization structure get [--json]

参数:无(除 --json 等通用选项外)。

4. 列出架构组织​

完整命令:system.organization.structure.organization.list

列出组织架构组织。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:读取

sl system organization structure organization list \
[--keyword value] [--status active|disabled] [--condition-json json] \
[--json]

参数:无(除 --json 等通用选项外)。

5. 获取架构组织​

完整命令:system.organization.structure.organization.get

获取组织架构组织资源。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:读取

sl system organization structure organization get \
--organization-id <uuid> [--json]

参数:无(除 --json 等通用选项外)。

6. 列出架构部门​

完整命令:system.organization.structure.department.list

列出组织架构部门。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:读取

sl system organization structure department list \
[--organization-id <uuid>] [--keyword value] \
[--status active|disabled] [--condition-json json] [--json]

参数:无(除 --json 等通用选项外)。

7. 获取架构部门​

完整命令:system.organization.structure.department.get

获取组织架构部门资源。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:读取

sl system organization structure department get \
--department-id <uuid> [--json]

参数:无(除 --json 等通用选项外)。

8. 获取架构成员名片设置​

完整命令:system.organization.structure.member-card-settings.get

获取组织架构成员名片设置资源。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:读取

sl system organization structure member-card-settings get [--json]

参数:无(除 --json 等通用选项外)。

9. 更新架构成员名片设置​

完整命令:system.organization.structure.member-card-settings.update

更新组织架构成员名片设置资源。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:写入

sl system organization structure member-card-settings update \
(--definition-json json|--definition-file path) [--json]

参数:无(除 --json 等通用选项外)。

10. 列出架构成员​

完整命令:system.organization.structure.member.list

列出组织架构成员。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:读取

sl system organization structure member list \
[--organization-id <uuid>|--department-id <uuid>] \
[--include-descendants] [--keyword value] [--status active|inactive] \
[--condition-json json] [--cursor value] [--limit n] [--json]

参数:无(除 --json 等通用选项外)。

11. 获取当前成员​

完整命令:system.organization.structure.member.current.get

读取当前登录的租户成员资料;该命令使用 Runtime 的操作者身份,不接受成员 ID,避免误读其他成员。 · 风险:读取

sl system organization structure member current get [--json]

参数:无(除 --json 等通用选项外)。

12. 获取架构成员​

完整命令:system.organization.structure.member.get

获取组织架构成员资源。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:读取

sl system organization structure member get --member-id <uuid> [--json]

参数:无(除 --json 等通用选项外)。

13. 列出架构成员API 密钥​

完整命令:system.organization.structure.member.api-key.list

列出组织架构成员API 密钥。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:读取

sl system organization structure member api-key list \
[--member-id <uuid>] [--started-at iso] [--ended-at iso] \
[--cursor value] [--limit n] [--json]

参数:无(除 --json 等通用选项外)。

14. 轮换架构成员API 密钥​

完整命令:system.organization.structure.member.api-key.rotate

轮换组织架构成员API 密钥资源。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:写入

sl system organization structure member api-key rotate \
--member-id <uuid> [--key-id <uuid>] [--json]

参数:无(除 --json 等通用选项外)。

15. 更新架构成员API 密钥状态​

完整命令:system.organization.structure.member.api-key.status.update

更新组织架构成员API 密钥状态资源。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:写入

sl system organization structure member api-key status update \
--member-id <uuid> --key-id <uuid> --status active|disabled [--json]

参数:无(除 --json 等通用选项外)。