Delete API endpoint