How to REVOKE CONNECT on a Mirroring Endpoint in SQL Server

To REVOKE previously granted CONNECT permission on a Mirroring Endpoint in SQL Server from a login run following query:

USE master;
REVOKE CONNECT ON ENDPOINT::Mirroring_Endpoint_Name FROM [domain_name\user_name];
GO