등록 URL 생성
POST/v1/user_profiles/{user_profile_id}/enrollment_url
Claude Platform on AWS에서는 프로필의 최종 고객을 Verification Portal로 보내는 링크를 생성합니다.
Claude API에서는 대신 작업 URL을 생성하세요. 링크를 생성해야 하는 시점과 최종 고객에게 표시되는 내용은 최종 고객에게 Verification Portal 링크 보내기를 참조하세요.
Parameters
Returns
등록 URL 생성
package main
import (
"context"
"fmt"
"github.com/anthropics/anthropic-sdk-go/v2"
"github.com/anthropics/anthropic-sdk-go/v2/option"
)
func main() {
client := anthropic.NewClient(
option.WithAPIKey("my-anthropic-api-key"),
)
betaUserProfileEnrollmentURL, err := client.Beta.UserProfiles.NewEnrollmentURL(
context.TODO(),
"uprof_011CZkZCu8hGbp5mYRQgUmz9",
anthropic.BetaUserProfileNewEnrollmentURLParams{},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", betaUserProfileEnrollmentURL.ExpiresAt)
}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"
}