cURL
curl "https://api.anthropic.com/v1/organizations/users/user_01WCz1FkmYMm4gnmykNKUu3Q" \
--header "anthropic-version: 2023-06-01" \
--header "content-type: application/json" \
--header "x-api-key: $ANTHROPIC_ADMIN_KEY"{
"added_at": "2023-11-07T05:31:56Z",
"email": "<string>",
"id": "<string>",
"name": "<string>",
"type": "user"
}获取用户
GET
/
v1
/
organizations
/
users
/
{user_id}
cURL
curl "https://api.anthropic.com/v1/organizations/users/user_01WCz1FkmYMm4gnmykNKUu3Q" \
--header "anthropic-version: 2023-06-01" \
--header "content-type: application/json" \
--header "x-api-key: $ANTHROPIC_ADMIN_KEY"{
"added_at": "2023-11-07T05:31:56Z",
"email": "<string>",
"id": "<string>",
"name": "<string>",
"type": "user"
}Headers
Path Parameters
ID of the User.
Response
Successful Response
RFC 3339 datetime string indicating when the User joined the Organization.
Example:
"2024-10-30T23:58:27.427722Z"
Email of the User.
Example:
"user@emaildomain.com"
ID of the User.
Example:
"user_01WCz1FkmYMm4gnmykNKUu3Q"
Name of the User.
Example:
"Jane Doe"
Organization role of the User.
Available options:
user, developer, billing, admin, claude_code_user Examples:
"user"
"developer"
"billing"
"admin"
"claude_code_user"
Object type.
For Users, this is always "user".
Available options:
user Allowed value:
"user"Was this page helpful?
⌘I