> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Learning

export const EnterprisePlanBadge = ({tip = "This feature is available exclusively as part of the Enterprise plan. Please refer to our pricing page for more information about our plans and features.", title = "Enterprise Plan", cta = "Read more", href = "https://coderabbit.ai/pricing", disabled = false}) => {
  return <Tooltip tip={tip} cta={cta} href={href}>
        <Badge icon="building-2" disabled={disabled || undefined}>
            {title}
        </Badge>
    </Tooltip>;
};

<EnterprisePlanBadge />

## Delete Learning

<Info>
  Requires the `learning:write` permission. Workspace API key owners must also remain workspace admins.
</Info>

## API key eligibility

User and workspace API keys can delete Learnings. Legacy organization API keys and agentic API keys cannot use this endpoint. A workspace API key must select one organization for every request by providing that organization's Git provider ID as `org_id`.

## Deletion behavior

Deletion is idempotent. CodeRabbit removes the canonical record and the vector used for review retrieval even when either is already absent, so retrying the request is safe.

## Rate limit

The Learnings write endpoints share a limit of 10 requests per minute per organization.
