Teamspace Libraries

Delete a version

Changed on

Delete a tag or branch version of a library the teamspace has claimed.

delete/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/versions/{version}

Request

  • Base URL
    https://context7.com/api
  • URL
    https://context7.com/api/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/versions/{version}
  • Auth
    HTTP bearer

Query parameters

isBranchboolean

true for the branch, false for the tag (any other value is a 400). Required when a tag and a branch have the same name.

Response

The deletion started

successboolean required
messagestring required
statusstring

Changes