创建注册 URL
POST/v1/user_profiles/{user_profile_id}/enrollment_url
从 Claude Platform on AWS 创建一个链接,将该配置文件对应的终端客户引导至 Verification Portal。
在 Claude API 上,请改为创建操作 URL。有关何时创建该链接以及终端客户会看到什么,请参阅向终端客户发送 Verification Portal 链接。
Path parameters
Headers
Returns
创建注册 URL
curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID/enrollment_url \
-X POST \
-H 'anthropic-version: 2026-10-21' \
-H 'anthropic-beta: user-profiles-2026-08-18' \
-H "Authorization: Bearer $ANTHROPIC_API_KEY"Response 200
{
"expires_at": "2026-03-15T10:15:00Z",
"type": "enrollment_url",
"url": "https://platform.claude.com/user-profiles/enrollment/M3J0bGJxZ2ppMnptbnB1"
}Returns Examples
Response 200
{
"expires_at": "2026-03-15T10:15:00Z",
"type": "enrollment_url",
"url": "https://platform.claude.com/user-profiles/enrollment/M3J0bGJxZ2ppMnptbnB1"
}