You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: