ConnectApi.NamedCredentialInput
Input used to create or update a named credential.
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
calloutOptions | ConnectApi.NamedCredentialCalloutOptionsInput | 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 |
externalCredentials | 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 |
networkConnection | ConnectApi.NetworkConnectionInput | PrivateConnect outbound network connection. | Optional depending on type | 58.0 |
parameters | List<ConnectApi.NamedCredentialParameterInput> | Named credential parameters. | Optional | 58.0 |
type | ConnectApi.NamedCredentialType | Type of named credential. Values are:
| Required | 58.0 |