使用者設定檔
Register the end customers that your platform serves, so each request can name who it's for. To get started, see the User profiles guide.
建立使用者設定檔
client.beta.userProfiles.create(params, options?): BetaUserProfilePOST/v1/user_profiles
Register one of your end customers and get the ID to send on the requests you make for them.
列出使用者設定檔
client.beta.userProfiles.list(params?, options?): PageCursor<BetaUserProfile>GET/v1/user_profiles
List the user profiles in your organization, newest first by default.
取得使用者設定檔
client.beta.userProfiles.retrieve(userProfileID, params?, options?): BetaUserProfileGET/v1/user_profiles/{user_profile_id}
Get a user profile by ID to check the details stored for it.
更新使用者設定檔
client.beta.userProfiles.update(userProfileID, params, options?): BetaUserProfilePOST/v1/user_profiles/{user_profile_id}
Change the details of a user profile, leaving the fields that you don't send as they are.
刪除使用者設定檔
client.beta.userProfiles.delete(userProfileID, params?, options?): BetaDeletedUserProfileDELETE/v1/user_profiles/{user_profile_id}
Delete a user profile, for example when the end customer closes their account.
建立註冊 URL
client.beta.userProfiles.createEnrollmentURL(userProfileID, params?, options?): BetaUserProfileEnrollmentURLPOST/v1/user_profiles/{user_profile_id}/enrollment_url
Create a link that sends the profile's end customer to the Verification Portal from Claude Platform on AWS.
Models
使用者設定檔動作 URL
建立動作 URL
client.beta.userProfiles.actionURLs.create(userProfileID, params, options?): BetaUserProfileActionURLPOST/v1/user_profiles/{user_profile_id}/action_urls
Create a link that sends the profile's end customer to the Verification Portal.