REVOKE Endpoint Permissions
REVOKE permissions on endpoint
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
REVOKE [ GRANT OPTION FOR ] permission [ ,...n ] ON ENDPOINT :: endpoint_name { FROM | TO } <server_principal> [ ,...n ] [ CASCADE ] [ AS SQL_Server_login ]
Work example
A login no longer needs one endpoint permission.
Check connected services and endpoint role inheritance before removing the direct grant.
Check your work The login loses the direct permission and approved peer connections continue.
Open Microsoft Learn for full syntax, permissions, and details for your version.