discard endpoint
discard endpoint setup