Профили пользователей
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.