Workspace Member Management
Create Workspace Member
POST
/
v1
/
organizations
/
workspaces
/
{workspace_id}
/
members
Headers
x-api-key
string
requiredYour 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.
anthropic-version
string
requiredThe version of the Anthropic API you want to use.
Read more about versioning and our version history here.
Path Parameters
workspace_id
string
requiredID of the Workspace.
Body
application/json
user_id
string
requiredID of the User.
workspace_role
enum<string>
requiredRole of the new Workspace Member. Cannot be "workspace_billing".
Available options:
workspace_user
, workspace_developer
, workspace_admin
Response
200 - application/json
type
enum<string>
default: workspace_memberrequiredObject type.
For Workspace Members, this is always "workspace_member"
.
Available options:
workspace_member
user_id
string
requiredID of the User.
workspace_id
string
requiredID of the Workspace.
workspace_role
enum<string>
requiredRole of the Workspace Member.
Available options:
workspace_user
, workspace_developer
, workspace_admin
, workspace_billing
Was this page helpful?