The configuration needed to connect to a REST external system.
| Name | Type | Required | Description |
|---|---|---|---|
| domains | List[Domain] | Yes | The domains that the connection is allowed to access. At least one domain must be specified. |
| additional_secrets | Optional[RestConnectionAdditionalSecrets] | No | Additional secrets that can be referenced in code and webhook configurations. If not provided, no additional secrets will be created. |
| oauth2_client_rid | Optional[RID] | No | The RID of the Outbound application that is used to authenticate to the external system via OAuth2. Currently, a connection may use only one outbound application for OAuth 2.0 authentication. Selecting a different outbound application will update the configuration for all domains with OAuth 2.0 as the selected authorization. |
| type | Literal["rest"] | Yes | None |