DROP ENDPOINT (Transact-SQL)
Applies To: SQL Server 2014, SQL Server 2016 Preview
Drops an existing endpoint.
Applies to: SQL Server (SQL Server 2008 through current version).
Is the name of the endpoint to be removed.
The ENDPOINT DDL statements cannot be executed inside a user transaction.
User must be a member of the sysadmin fixed server role, the owner of the endpoint, or have been granted CONTROL permission on the endpoint.
The following example removes a previously created endpoint called sql_endpoint.
DROP ENDPOINT sql_endpoint;