ConnectApi.NamedCredentialInput

Input used to create or update a named credential.

PropertyTypeDescriptionRequired or OptionalAvailable Version
calloutOptionsConnectApi.​NamedCredential​CalloutOptionsInputCallout options.Required58.0
calloutUrlStringURL of the named credential in a callout.Required58.0
customHeadersList<ConnectApi.CredentialCustomHeaderInput>Custom HTTP headers.Optional58.0
descriptionStringDescription of the named credential.Optional64.0
developerNameStringNamed credential developer name.Required for creating a named credential
Optional for updating a named credential
58.0
external​CredentialsList<ConnectApi.ExternalCredentialInput>External credentials used by the named credential. In version 58.0 and later only one external credential is supported.Required58.0
masterLabelStringNamed credential label.Required58.0
network​ConnectionConnectApi.​NetworkConnection​InputPrivateConnect outbound network connection.Optional depending on type58.0
parametersList<ConnectApi.NamedCredentialParameterInput>Named credential parameters.Optional58.0
typeConnectApi.​NamedCredential​TypeType of named credential. Values are:
  • PrivateEndpoint
  • SecuredEndpoint
Required58.0