Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't delete artifact tag #15

Open
vmasyagin opened this issue Nov 24, 2022 · 1 comment
Open

Can't delete artifact tag #15

vmasyagin opened this issue Nov 24, 2022 · 1 comment

Comments

@vmasyagin
Copy link

Good afternoon. Please suggest what is wrong with my request. Execute command in code
_, err = cs.V2().Artifact.DeleteTag(context.TODO(), &artifact.DeleteTagParams{
Reference: reference,
TagName: reference,
ProjectName: *r.Project,
RepositoryName: repositoryName,
})
and i get an error
[DELETE /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/tags/{tag_name}][401] deleteTagUnauthorized &{Errors:[0xc000236500]}

Methods for getting tags work fine with the same authorization data. In Harbor UI, I can delete the tag with these authorization data

Version: github.com/goharbor/go-client v0.25.0

@jeyrce
Copy link

jeyrce commented Feb 9, 2023

I met the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants