Skip to content

Unbound host deletion returns null when criteria is met but host does not exist #3

@jaredhendrickson13

Description

@jaredhendrickson13

Attempting to delete a Unbound host override that does not exist results in a null response:

$ curl -k -X POST "https://172.16.209.129/api/v1/services/unbound/delete/hosts/?client-id=admin&client-token=pfsense&host=test&domain=jaredhendrickson.com"
null

The expected result is to return a response confirming the override does not exist

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions