---
schema_version: "1"
id: 287df6409af43f56d5a1292a5933d6f38587480e8b3ddaacc6fc03f141217d75
title: Restrict Login Access to SOAP API
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/262-0-0/rn_api_soap_login.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_api_soap_login.htm&release=262.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 434cc05d6297c3b3f62c6284ffe367ac99e718a1ba757261a22dadcb2062a6f6
description: Enhance security by controlling who can authenticate using SOAP API login() with the new Any API Auth permission. The permission is enforced by default in newly created orgs. You can choose to enable it in existing orgs.
products:
  - Cross Cloud
release: "262"
---
# Restrict Login Access to SOAP API

Enhance security by controlling who can authenticate using SOAP API login() with the new Any API Auth permission. The permission is enforced by default in newly created orgs. You can choose to enable it in existing orgs.

**Where:** This change applies to Lightning Experience and Salesforce Classic in all editions.

**How:** For existing orgs, you can enable this feature in Setup. Select **Enable SOAP API login() to users with the Use Any API Auth user permission** option.

#### See Also

- [_SOAP API Developer Guide_: `login()`](https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_login.htm)