support delete repository API in server side