[CKAN-support] Permanently delete a group?

Nigel Babu nigel.babu at okfn.org
Mon Mar 10 00:22:45 UTC 2014


Hi Carlos,

You would use the CKAN API. An example would look something like this:
https://gist.github.com/nigelbabu/9457277



Nigel Babu

Developer  |  @nigelbabu <https://twitter.com/nigelbabu>

The Open Knowledge Foundation <http://okfn.org/>

Empowering through Open Knowledge

http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter>

 CKAN | http://ckan.org/ | @CKANproject
<http://twitter.com/CKANproject> |the world’s leading open-source data
portal platform


On 7 March 2014 17:56, Carlos Quiros <cquiros at qlands.com> wrote:

>  Hi,
>
> And how do I use group_purge? For example using CKAN API? or Paster? An
> example is highly appreciated.
>
> Carlos.
>
>
> On 03/07/2014 02:30 PM, Nigel Babu wrote:
>
>  Hi Carlos,
>
>  You can use group_purge. Please don't don't delete things from the
> database, you may end up making the database inconsistent.
>
> Can you email further support queries to the official support address?
> It's support at ckan.org.
>
>  Nigel Babu
>
> Developer  |  @nigelbabu <https://twitter.com/nigelbabu>
>
> The Open Knowledge Foundation <http://okfn.org/>
>
> Empowering through Open Knowledge
>
> http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on Facebook<https://www.facebook.com/OKFNetwork> |
> Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter>
>
>   CKAN | http://ckan.org/ | @CKANproject <http://twitter.com/CKANproject>|the world’s leading open-source data portal platform
>
>
> On 7 March 2014 14:51, Carlos Quiros <cquiros at qlands.com> wrote:
>
>>  I can see that when I delete a group in CKAN is moves the status to
>> "deleted" but I want to remove it totally from the database. Any clean way
>> or I just use psql terminal?
>>
>> Thanks,
>> Carlos.
>>
>> --
>>
>> Carlos Quiros | Agricultural Information Systems Specialist  |  International Livestock
>> Research Institute  |  www.ilri.org
>>
>> P.O.Box 30709, Old Naivasha Road, Nairobi 00100, Kenya  |Tel: +254 20
>> 422 3000 |
>>
>> via USA Tel +1 650 33 6660|  Fax: +254 20 422 3001|Email:
>> c.f.quiros at cgiar.org |
>>
>> ILRI ONLINE: Website <http://www.ilri.org/> | Information depository<http://mahider.ilri.org/> |
>> Slide presentations <http://www.slideshare.net/ILRI/presentations> |
>> Images <http://www.flickr.com/photos/ilri/sets> | Films<http://ilri.blip.tv/posts>
>>  | *Facebook <http://www.facebook.com/ILRIFanPage>* | Twitter<http://www.twitter.com/ilri>
>>  | LinkedIn <http://www.linkedin.com/in/ilricgiar>
>> *DISCLAIMER*: This email (including any attachments) is intended for the
>> addressee only, and the information that it contains may be confidential,
>> legally privileged and protected by law. Access by the intended recipient
>> only is authorized. The email is not intended to constitute a binding
>> contract unless expressly stated. Any liability (in negligence or
>> otherwise) arising from any third party acting, or refraining from acting,
>> on any information contained in this email is hereby excluded. If you are
>> not the intended recipient, please notify the author immediately and delete
>> this email (including any attachments) immediately in its entirety. Do not
>> disclose the contents to any other person or use it for any purpose or
>> store or copy the information in any medium. Copyright of this email and
>> any of its attachments created by us belongs to the International Livestock
>> Research Institute, which asserts the right to be identified as the
>> copyright holder and objects to any misuse.
>>
>
>
>
> _______________________________________________
> ckan-support mailing list
> ckan-support at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-support
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ckan-support/attachments/20140310/95dcf19e/attachment-0003.html>


More information about the ckan-support mailing list