DROP CREDENTIAL (Transact-SQL)
Removes a credential from the server.
Applies to: SQL Server (SQL Server 2008 through current version).
To drop the secret associated with a credential without dropping the credential itself, use ALTER CREDENTIAL.
Information about credentials is visible in the sys.credentials catalog view.
Proxies are associated with a credential. Deleting a credential that is used by a proxy leaves the associated proxy in an unusable state. When dropping a credential used by a proxy, delete the proxy (by using sp_delete_proxy (Transact-SQL) and recreate the associated proxy by using sp_add_proxy (Transact-SQL).
The following example removes the credential called Saddles.
DROP CREDENTIAL Saddles; GO