组织成员管理
更新用户
POST
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 User.
Body
application/json
New role for the User. Cannot be "admin".
Available options:
user
, developer
, billing
Examples:
"user"
"developer"
"billing"
Response
200
application/json
Successful Response
ID of the User.
Examples:
"user_01WCz1FkmYMm4gnmykNKUu3Q"
Object type.
For Users, this is always "user"
.
Available options:
user
Email of the User.
Examples:
"user@emaildomain.com"
Name of the User.
Examples:
"Jane Doe"
Organization role of the User.
Available options:
user
, developer
, billing
, admin
Examples:
"user"
"developer"
"billing"
"admin"
RFC 3339 datetime string indicating when the User joined the Organization.
Examples:
"2024-10-30T23:58:27.427722Z"