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.
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/'
< 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
<
mvoelker@mvoelker-lnx1:~/openstack/python-django-repomgmt$
Don also ran into this problem with a repo he created using his API key.