Fix endpointCreateDelete