Hapus Profil Pengguna
DELETE/v1/user_profiles/{user_profile_id}
Hapus profil pengguna, misalnya saat pelanggan akhir menutup akunnya.
Berhentilah mengirim ID profil tersebut terlebih dahulu. Lihat panduan profil pengguna untuk mengetahui apa yang terjadi setelah penghapusan.
Parameters
Returns
Hapus Profil Pengguna
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
deleted_user_profile = anthropic.user_profiles.delete("uprof_011CZkZCu8hGbp5mYRQgUmz9")
puts(deleted_user_profile)Response 200
{
"id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
"type": "user_profile_deleted"
}Returns Examples
Response 200
{
"id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
"type": "user_profile_deleted"
}