[Girder-users] Deleting an item via the API

Zach Mullen zach.mullen at kitware.com
Tue Jan 31 15:22:12 EST 2017


Hi Brian,

Assuming you have called authenticate() successfully on your GirderClient
instance, just call

client.delete('item/your_item_id')

Which is here in the API docs:
http://girder.readthedocs.io/en/latest/python-client.html#girder_client.GirderClient.delete

Hope this helps,


Zach Mullen
Kitware, Inc.
919-869-8858

On Tue, Jan 31, 2017 at 3:07 PM, Brian E Chapman <Brian.Chapman at utah.edu>
wrote:

> Hi Everyone,
>
> I suspect this is really straightforward, but I haven’t been able to
> figure it out from the documentation, so I’m posting a question here. Given
> an id to an item in a girder repository, how would I remove that item with
> a girder_client instance?
>
> Thanks,
>
> Brian
>
> Brian E Chapman, Ph.D
> Associate Professor
> Department of Radiology and Imaging Sciences
> University of Utah
>
>
> _______________________________________________
> Girder-users mailing list
> Girder-users at public.kitware.com
> http://public.kitware.com/mailman/listinfo/girder-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/girder-users/attachments/20170131/f4889a60/attachment.html>


More information about the Girder-users mailing list