Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.NamedCredentialInput

Input used to create or update a named credential.
Property Type Description Required or Optional Available Version
calloutOptions ConnectApi.​NamedCredential​CalloutOptionsInput Callout options. Required 58.0
calloutUrl String URL of the named credential in a callout. Required 58.0
customHeaders List<ConnectApi.CredentialCustomHeaderInput> Custom HTTP headers. Optional 58.0
description String Description of the named credential. Optional 64.0
developerName String Named credential developer name. Required for creating a named credential

Optional for updating a named credential

58.0
external​Credentials List<ConnectApi.ExternalCredentialInput> External credentials used by the named credential. In version 58.0 and later only one external credential is supported. Required 58.0
masterLabel String Named credential label. Required 58.0
network​Connection ConnectApi.​NetworkConnection​Input PrivateConnect outbound network connection. Optional depending on type 58.0
parameters List<ConnectApi.NamedCredentialParameterInput> Named credential parameters. Optional 58.0
type ConnectApi.​NamedCredential​Type Type of named credential. Values are:
  • PrivateEndpoint
  • SecuredEndpoint
Required 58.0