Fix endpointCreateDelete

#933