How can I delete all intents programatically?
I just want to try with differents data sets, and program a function that allows me to reset the app.
I already can create new Traits and test the application.
But now if I want to try a different dataset I want to delete the Intents I created previously and add the new ones.
I don't want to delete the entire app and create a new one, cause I want to use the same Authentication Bearer everytime.
Is there any way to delete only the intents?
You can use https://wit.ai/docs/http/20170307#delete--entities-:entity-id-link
But that would delete the entity "intent" isn't it? I want to delete the traits inside the entity "Intent" not intent itself.
Let me clarify, an intent = a trait entity. Each entity has value so in your case you want to remove the intent values? if so: https://wit.ai/docs/http/20170307#delete--entities-:entity-id-values-link
@DavidCampaneroGarcia Indeed - to remove a single value, you can use DELETE https://api.wit.ai/entities/$ENTITY_ID/values/$ENTITY_VALUE.
@l5t @patapizza Oh I understand, yeah there were the values what I wanted to delete. I made it work know :)
I was Posting them with this: https://wit.ai/docs/http/20170307#post--samples-link So i thought I would have to use something similar. You can close the thread now, thank you guys!