Claude Platform Docs

Eliminar perfil de usuario

$ ant user-profiles delete
DELETE/v1/user_profiles/{user_profile_id}

Elimina un perfil de usuario, por ejemplo, cuando el cliente final cierre su cuenta.

Primero, deja de enviar el ID del perfil. Consulta la guía de perfiles de usuario para saber qué sucede después de una eliminación.

Parameters
--user-profile-id: string⁠Path parameter

The ID of the user profile to delete (uprof_...).

--workspace-id: optional string⁠Header parameter

Optional header to select the Workspace for this request. The value is a Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).

Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.

Returns
deleted_user_profile: object{ type: "user_profile_deleted", id }
type: "user_profile_deleted"

Object type. Always user_profile_deleted.

id: string

Identifier of the deleted user profile, prefixed uprof_.

Eliminar perfil de usuario
ant user-profiles delete \
  --user-profile-id uprof_011CZkZCu8hGbp5mYRQgUmz9
Returns Examples
Response 200
{
  "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
  "type": "user_profile_deleted"
}