B.25. DBdeltree()

Deletes a family or branch from the Asterisk database.
DBdeltree(family[/branch])
Deletes the specified branch from the Asterisk database.
Returns 0.
; save entries in AstDB:
exten => 123,1,Set(DB(colors/one)=red)
exten => 123,n,Set(DB(colors/two)=blue)
; now delete the key family named test
exten => 123,n,DBdeltree(colors)

Note

Internal help for this application in Asterisk 1.4:
  -= Info about application 'DBdeltree' =- 

[Synopsis]
Delete a family or keytree from the database

[Description]
  DBdeltree(family[/keytree]): This application will delete a family or keytree
from the Asterisk database
diff output to internal help in Asterisk 1.2:
- none -