Claude Platform Docs

用户

列出用户
$ ant organization:users list
GET/v1/organizations/users

列出组织的成员。

获取用户
$ ant organization:users retrieve
GET/v1/organizations/users/{user_id}

按用户 ID 检索组织成员。

更新用户
$ ant organization:users update
POST/v1/organizations/users/{user_id}

更新成员的组织角色。

移除用户
$ ant organization:users remove
DELETE/v1/organizations/users/{user_id}

将成员从组织中移除。

Models
organization_user: object{ type: "user", id, added_at, 3 more }
type: "user"

Object type.

For Users, this is always "user".

id: string

ID of the User.

added_at: string

RFC 3339 datetime string indicating when the User joined the Organization.

formatdate-time
email: string

Email of the User.

name: string

Name of the User.

role: "admin" or "billing" or "claude_code_user" or 6 more

Organization role of the User.

One of the following:
"admin"
"billing"
"claude_code_user"
"developer"
"managed"
"membership_admin"
"owner"
"primary_owner"
"user"