Organization Member Management
Update User
POST
/
v1
/
organizations
/
users
/
{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.
Body
application/json
role
enum<string>
requiredNew role for the User. Cannot be "admin".
Available options:
user
, developer
, billing
Response
200 - application/json
id
string
requiredID of the User.
type
enum<string>
default: userrequiredObject type.
For Users, this is always "user"
.
Available options:
user
email
string
requiredEmail of the User.
name
string
requiredName of the User.
role
enum<string>
requiredOrganization role of the User.
Available options:
user
, developer
, billing
, admin
added_at
string
requiredRFC 3339 datetime string indicating when the User joined the Organization.