Skip to main content
DELETE
Delete a learning

Delete Learning

Requires the learning:write permission. Workspace API key owners must also remain workspace admins.

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.

Authorizations

x-coderabbitai-api-key
string
header
required

API key for authentication. You can create an API key from the CodeRabbit dashboard.

Path Parameters

learning_id
string
required

Learning ID returned by GET or POST /v1/learnings.

Query Parameters

org_id
string

Required for workspace API keys; the git-provider organization ID to target. Ignored for organization keys.

Response

Learning deleted or already absent.