Elimina profilo utente
DELETE/v1/user_profiles/{user_profile_id}
Elimina profilo utente
Parameters
Returns
Elimina profilo utente
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
beta_deleted_user_profile = client.beta.user_profiles.delete(
user_profile_id="uprof_011CZkZCu8hGbp5mYRQgUmz9",
)
print(beta_deleted_user_profile.id)Response 200
{
"id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
"type": "user_profile_deleted"
}Returns Examples
Response 200
{
"id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
"type": "user_profile_deleted"
}