Registrierungs-URL erstellen
POST/v1/user_profiles/{user_profile_id}/enrollment_url
Erstelle auf Claude Platform on AWS einen Link, der den Endkunden des Profils zum Verification Portal weiterleitet.
Erstelle auf der Claude API stattdessen eine Aktions-URL. Unter Einem Endkunden einen Link zum Verification Portal senden erfährst du, wann du den Link erstellen solltest und was der Endkunde sieht.
Parameters
Returns
Registrierungs-URL erstellen
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
beta_user_profile_enrollment_url = anthropic.beta.user_profiles.create_enrollment_url("uprof_011CZkZCu8hGbp5mYRQgUmz9")
puts(beta_user_profile_enrollment_url)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"
}