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

Users can't delete a repo they created #13

Open
markvoelker opened this issue Feb 12, 2013 · 0 comments
Open

Users can't delete a repo they created #13

markvoelker opened this issue Feb 12, 2013 · 0 comments

Comments

@markvoelker
Copy link
Contributor

Over the course of troubleshooting some other bugs, we've ended up with an apt repo or two that we don't need. However, it seems I can't delete them (even though I created them).

mvoelker@mvoelker-lnx1:~/openstack/python-django-repomgmt$ curl -v -H "Content-Type: application/json" -X DELETE --header 'Authorization: ApiKey mvoelker:[redacted]' 'http://apt.ctocllab.cisco.com/api/v1/repository/mvoelker_proposed/'

  • About to connect() to apt.ctocllab.cisco.com port 80 (#0)
  • Trying 172.29.74.52... connected

DELETE /api/v1/repository/mvoelker_proposed/ HTTP/1.1
User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
Host: apt.ctocllab.cisco.com
Accept: /
Content-Type: application/json
Authorization: ApiKey mvoelker:[redacted]

< HTTP/1.1 401 UNAUTHORIZED
< Date: Tue, 12 Feb 2013 18:50:41 GMT
< Server: Apache/2.2.22 (Ubuntu)
< Vary: Accept-Encoding
< Content-Length: 0
< Content-Type: text/html; charset=utf-8
<

  • Connection #0 to host apt.ctocllab.cisco.com left intact
  • Closing connection #0
    mvoelker@mvoelker-lnx1:~/openstack/python-django-repomgmt$

Don also ran into this problem with a repo he created using his API key.

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

1 participant