Salesforce · JSON Structure

Salesforce Update Named Credential Request Structure

Type: object Properties: 6 Required: 6
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

UpdateNamedCredentialRequest is a JSON Structure definition published by Salesforce, describing 6 properties, of which 6 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

masterLabel type calloutUrl externalCredentials customHeaders calloutOptions

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "UpdateNamedCredentialRequest",
  "properties": {
    "masterLabel": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "calloutUrl": {
      "type": "string"
    },
    "externalCredentials": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "developerName": {
            "type": "string"
          }
        },
        "required": [
          "developerName"
        ]
      }
    },
    "customHeaders": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "headerName": {
            "type": "string"
          },
          "headerValue": {
            "type": "string"
          },
          "sequenceNumber": {
            "type": "integer"
          }
        },
        "required": [
          "headerName",
          "headerValue",
          "sequenceNumber"
        ]
      }
    },
    "calloutOptions": {
      "type": "object",
      "properties": {
        "allowMergeFieldsInBody": {
          "type": "boolean"
        },
        "allowMergeFieldsInHeader": {
          "type": "boolean"
        },
        "generateAuthorizationHeader": {
          "type": "boolean"
        }
      },
      "required": [
        "allowMergeFieldsInBody",
        "allowMergeFieldsInHeader",
        "generateAuthorizationHeader"
      ]
    }
  },
  "required": [
    "masterLabel",
    "type",
    "calloutUrl",
    "externalCredentials",
    "customHeaders",
    "calloutOptions"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}