Delete User Profile
DELETE/v1/user_profiles/{user_profile_id}
Delete User Profile
Parameters
Returns
Delete User Profile
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Anthropic\Client;
$client = new Client(apiKey: 'my-anthropic-api-key');
$deletedUserProfile = $client->userProfiles->delete(
'uprof_011CZkZCu8hGbp5mYRQgUmz9',
workspaceID: 'wrkspc_011CZkZaBF1tNoB5wlCeusgy',
);
var_dump($deletedUserProfile);Response 200
{
"id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
"type": "user_profile_deleted"
}Returns Examples
Response 200
{
"id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
"type": "user_profile_deleted"
}