'.. http:delete:: /api/1/whitelistcidrs/123
Delete a network whitelist entry.
**Example Request**:
.. sourcecode:: http
DELETE /api/1/whitelistcidrs/123 HTTP/1.1
Host: example.com
Accept: application/json
**Example Response**:
.. sourcecode:: http
HTTP/1.1 202 Accepted
Vary: Accept
Content-Type: application/json
\'status\': \'deleted\'
:statuscode 202: accepted
:statuscode 401: Authentication Error. Please Login.'

def delete(self, item_id):

    NetworkWhitelistEntry.query.filter((NetworkWhitelistEntry.id == item_id)).delete()
    db.session.commit()
    return ({'status': 'deleted'}, 202)
