Workspace Member Management
Update Workspace Member
POST
/
v1
/
organizations
/
workspaces
/
{workspace_id}
/
members
/
{user_id}
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
user_id
string
requiredID of the User.
workspace_id
string
requiredID of the Workspace.
Body
application/json
workspace_role
enum<string>
requiredNew workspace role for the User.
Available options:
workspace_user
, workspace_developer
, workspace_admin
, workspace_billing
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?