Benutzerprofil löschen
DELETE/v1/user_profiles/{user_profile_id}
Benutzerprofil löschen
Parameters
Returns
Benutzerprofil löschen
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
apiKey: process.env["ANTHROPIC_API_KEY"] // This is the default and can be omitted
});
const deletedUserProfile = await client.userProfiles.delete("uprof_011CZkZCu8hGbp5mYRQgUmz9");
console.log(deletedUserProfile.id);Response 200
{
"id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
"type": "user_profile_deleted"
}Returns Examples
Response 200
{
"id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
"type": "user_profile_deleted"
}