Newer Version Available
Named Credentials, External Credential OAuth URL
- Resource
-
1/named-credentials/credential/auth-url/o-auth - Available version
- 56.0
- Requires Chatter
- No
- HTTP methods
- POST
POST methods typically create an item, but for this resource POST is used to retrieve information.
- Request body for POST
-
- Root XML tag
- <oAuthCredentialAuthUrl>
- JSON example
-
1{ 2"externalCredential": "salesforceOAuthExternalCredential", 3"principalName": "defaultNamedPrincipal", 4"principalType": "NamedPrincipal", 5"returnUrl": "lightning/setup/SetupOneHome/home" 6} - Properties
-
- Response body for POST
- OAuth Credential Auth URL