Delete User Profile
DELETE/v1/user_profiles/{user_profile_id}
Delete User Profile
Parameters
Returns
Delete User Profile
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.beta.userprofiles.BetaDeletedUserProfile;
import com.anthropic.models.beta.userprofiles.UserProfileDeleteParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
BetaDeletedUserProfile betaDeletedUserProfile = client.beta().userProfiles().delete("uprof_011CZkZCu8hGbp5mYRQgUmz9");
}
}Response 200
{
"id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
"type": "user_profile_deleted"
}Returns Examples
Response 200
{
"id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
"type": "user_profile_deleted"
}