新增工作區成員
The Admin API is unavailable for individual accounts. To collaborate with teammates and add members, set up your organization in Console → Settings → Organization.
Headers
Your unique Admin API key for authentication.
This key is required in the header of all Admin API requests, to authenticate your account and access Anthropic's services. Get your Admin API key through the Console.
Path Parameters
ID of the Workspace.
Body
ID of the User.
"user_01WCz1FkmYMm4gnmykNKUu3Q"
Role of the new Workspace Member. Cannot be "workspace_billing".
workspace_user
, workspace_developer
, workspace_admin
Response
Object type.
For Workspace Members, this is always "workspace_member"
.
workspace_member
ID of the User.
"user_01WCz1FkmYMm4gnmykNKUu3Q"
ID of the Workspace.
"wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
Role of the Workspace Member.
workspace_user
, workspace_developer
, workspace_admin
, workspace_billing
"workspace_user"
"workspace_developer"
"workspace_admin"
"workspace_billing"