Benutzerprofil löschen
DELETE/v1/user_profiles/{user_profile_id}
Benutzerprofil löschen
Parameters
Returns
Benutzerprofil löschen
package main
import (
"context"
"fmt"
"github.com/anthropics/anthropic-sdk-go/v2"
"github.com/anthropics/anthropic-sdk-go/v2/option"
)
func main() {
client := anthropic.NewClient(
option.WithAPIKey("my-anthropic-api-key"),
)
deletedUserProfile, err := client.UserProfiles.Delete(
context.TODO(),
"uprof_011CZkZCu8hGbp5mYRQgUmz9",
anthropic.UserProfileDeleteParams{},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", deletedUserProfile.ID)
}Response 200
{
"id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
"type": "user_profile_deleted"
}Returns Examples
Response 200
{
"id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
"type": "user_profile_deleted"
}