Delete a tag from the repository. Works with both lightweight and annotated tags.Documentation Index
Fetch the complete documentation index at: https://code.storage/docs/llms.txt
Use this file to discover all available pages before exploring further.
Request Body
Tag name to delete (e.g.
v1.0.0). Must not start with refs/.JWT Requirements
- The JWT must include the repository in the
repoclaim - Requires both
git:readandgit:writescopes
Response
Notes
- Works with both lightweight and annotated tags. The API resolves the correct ref value internally.
- If the repository is synced to GitHub, tag deletion triggers a sync automatically.
Error Responses
Invalid tag name or missing required fields
Invalid JWT or missing authorization header
Missing required scopes
Tag does not exist