SQL Flow Field Guide

REVOKE Endpoint Permissions

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

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.