---
title: Actualizar una conexión de acción existente
description: Actualiza una Action Connection existente. Esta API requiere una clave de aplicación registrada.
breadcrumbs: Documentación > API > Actualizar una conexión de acción existente
---

> For the complete documentation index, see [llms.txt](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/llms.txt).

# Actualizar una conexión de acción existente

## v2 (latest)

| Datadog site      | API endpoint                                                                   |
| ----------------- | ------------------------------------------------------------------------------ |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/actions/connections/{connection_id}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/actions/connections/{connection_id} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/actions/connections/{connection_id} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/actions/connections/{connection_id}      |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/actions/connections/{connection_id} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/actions/connections/{connection_id} |
| uk1.datadoghq.com | PATCH https://api.uk1.datadoghq.com/api/v2/actions/connections/{connection_id} |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/actions/connections/{connection_id}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/actions/connections/{connection_id}  |

### Overview

Actualiza una Action Connection existente. Esta API requiere una [clave de aplicación registrada](https://docs.datadoghq.com/api/latest/action-connection.md#register-a-new-app-key).

### Arguments

#### Path Parameters

| Field                      | Type   | Description                     |
| -------------------------- | ------ | ------------------------------- |
| connection_id [*required*] | string | The ID of the action connection |

### Request

#### Body Data (required)

Actualizar un cuerpo de solicitud de conexión de acción existente

{% tabs %}
{% tab label="Model" %}
| Parent field                    | Field                           | Type     | Description                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------------------- | ------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|                                 | data [*required*]               | object   | Solicitud utilizada para actualizar una conexión de acción.                                                                                                                                                                                                                                                                                                                           |
| data                            | attributes [*required*]         | object   | The definition of `ActionConnectionAttributesUpdate` object.                                                                                                                                                                                                                                                                                                                          |
| attributes                      | integration                     | <oneOf>  | The definition of `ActionConnectionIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                         |
| integration                     | <type=AWS>                      | object   | The definition of `AWSIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                                      |
| <type=AWS>                      | credentials                     | <oneOf>  | The definition of `AWSCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                                      |
| credentials                     | <type=AWSAssumeRole>            | object   | The definition of `AWSAssumeRoleUpdate` object.                                                                                                                                                                                                                                                                                                                                       |
| <type=AWSAssumeRole>            | account_id                      | string   | AWS account the connection is created for                                                                                                                                                                                                                                                                                                                                             |
| <type=AWSAssumeRole>            | generate_new_external_id        | boolean  | The `AWSAssumeRoleUpdate` `generate_new_external_id`.                                                                                                                                                                                                                                                                                                                                 |
| <type=AWSAssumeRole>            | role                            | string   | Role to assume                                                                                                                                                                                                                                                                                                                                                                        |
| <type=AWSAssumeRole>            | type [*required*]               | enum     | The definition of `AWSAssumeRoleType` object. Allowed enum values: `AWSAssumeRole`.                                                                                                                                                                                                                                                                                                   |
| <type=AWS>                      | type [*required*]               | enum     | The definition of `AWSIntegrationType` object. Allowed enum values: `AWS`.                                                                                                                                                                                                                                                                                                            |
| integration                     | <type=Anthropic>                | object   | The definition of the `AnthropicIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                            |
| <type=Anthropic>                | credentials                     | <oneOf>  | The definition of the `AnthropicCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                            |
| credentials                     | <type=AnthropicAPIKey>          | object   | The definition of the `AnthropicAPIKey` object.                                                                                                                                                                                                                                                                                                                                       |
| <type=AnthropicAPIKey>          | api_token                       | string   | The `AnthropicAPIKeyUpdate` `api_token`.                                                                                                                                                                                                                                                                                                                                              |
| <type=AnthropicAPIKey>          | type [*required*]               | enum     | The definition of the `AnthropicAPIKey` object. Allowed enum values: `AnthropicAPIKey`.                                                                                                                                                                                                                                                                                               |
| <type=Anthropic>                | type [*required*]               | enum     | The definition of the `AnthropicIntegrationType` object. Allowed enum values: `Anthropic`.                                                                                                                                                                                                                                                                                            |
| integration                     | <type=Asana>                    | object   | The definition of the `AsanaIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                                |
| <type=Asana>                    | credentials                     | <oneOf>  | The definition of the `AsanaCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                                |
| credentials                     | <type=AsanaAccessToken>         | object   | The definition of the `AsanaAccessToken` object.                                                                                                                                                                                                                                                                                                                                      |
| <type=AsanaAccessToken>         | access_token                    | string   | The `AsanaAccessTokenUpdate` `access_token`.                                                                                                                                                                                                                                                                                                                                          |
| <type=AsanaAccessToken>         | type [*required*]               | enum     | The definition of the `AsanaAccessToken` object. Allowed enum values: `AsanaAccessToken`.                                                                                                                                                                                                                                                                                             |
| <type=Asana>                    | type [*required*]               | enum     | The definition of the `AsanaIntegrationType` object. Allowed enum values: `Asana`.                                                                                                                                                                                                                                                                                                    |
| integration                     | <type=Azure>                    | object   | The definition of the `AzureIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                                |
| <type=Azure>                    | credentials                     | <oneOf>  | The definition of the `AzureCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                                |
| credentials                     | <type=AzureTenant>              | object   | The definition of the `AzureTenant` object.                                                                                                                                                                                                                                                                                                                                           |
| <type=AzureTenant>              | app_client_id                   | string   | The Client ID, also known as the Application ID in Azure, is a unique identifier for an application. It's used to identify the application during the authentication process. Your Application (client) ID is listed in the application's overview page. You can navigate to your application via the Azure Directory.                                                                |
| <type=AzureTenant>              | client_secret                   | string   | The Client Secret is a confidential piece of information known only to the application and Azure AD. It's used to prove the application's identity. Your Client Secret is available from the application’s secrets page. You can navigate to your application via the Azure Directory.                                                                                                |
| <type=AzureTenant>              | custom_scopes                   | string   | If provided, the custom scope to be requested from Microsoft when acquiring an OAuth 2 access token. This custom scope is used only in conjunction with the HTTP action. A resource's scope is constructed by using the identifier URI for the resource and .default, separated by a forward slash (/) as follows:{identifierURI}/.default.                                           |
| <type=AzureTenant>              | tenant_id                       | string   | The Tenant ID, also known as the Directory ID in Azure, is a unique identifier that represents an Azure AD instance. Your Tenant ID (Directory ID) is listed in your Active Directory overview page under the 'Tenant information' section.                                                                                                                                           |
| <type=AzureTenant>              | type [*required*]               | enum     | The definition of the `AzureTenant` object. Allowed enum values: `AzureTenant`.                                                                                                                                                                                                                                                                                                       |
| <type=Azure>                    | type [*required*]               | enum     | The definition of the `AzureIntegrationType` object. Allowed enum values: `Azure`.                                                                                                                                                                                                                                                                                                    |
| integration                     | <type=CircleCI>                 | object   | The definition of the `CircleCIIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                             |
| <type=CircleCI>                 | credentials                     | <oneOf>  | The definition of the `CircleCICredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                             |
| credentials                     | <type=CircleCIAPIKey>           | object   | The definition of the `CircleCIAPIKey` object.                                                                                                                                                                                                                                                                                                                                        |
| <type=CircleCIAPIKey>           | api_token                       | string   | The `CircleCIAPIKeyUpdate` `api_token`.                                                                                                                                                                                                                                                                                                                                               |
| <type=CircleCIAPIKey>           | type [*required*]               | enum     | The definition of the `CircleCIAPIKey` object. Allowed enum values: `CircleCIAPIKey`.                                                                                                                                                                                                                                                                                                 |
| <type=CircleCI>                 | type [*required*]               | enum     | The definition of the `CircleCIIntegrationType` object. Allowed enum values: `CircleCI`.                                                                                                                                                                                                                                                                                              |
| integration                     | <type=Clickup>                  | object   | The definition of the `ClickupIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                              |
| <type=Clickup>                  | credentials                     | <oneOf>  | The definition of the `ClickupCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                              |
| credentials                     | <type=ClickupAPIKey>            | object   | The definition of the `ClickupAPIKey` object.                                                                                                                                                                                                                                                                                                                                         |
| <type=ClickupAPIKey>            | api_token                       | string   | The `ClickupAPIKeyUpdate` `api_token`.                                                                                                                                                                                                                                                                                                                                                |
| <type=ClickupAPIKey>            | type [*required*]               | enum     | The definition of the `ClickupAPIKey` object. Allowed enum values: `ClickupAPIKey`.                                                                                                                                                                                                                                                                                                   |
| <type=Clickup>                  | type [*required*]               | enum     | The definition of the `ClickupIntegrationType` object. Allowed enum values: `Clickup`.                                                                                                                                                                                                                                                                                                |
| integration                     | <type=Cloudflare>               | object   | The definition of the `CloudflareIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                           |
| <type=Cloudflare>               | credentials                     | <oneOf>  | The definition of the `CloudflareCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                           |
| credentials                     | <type=CloudflareAPIToken>       | object   | The definition of the `CloudflareAPIToken` object.                                                                                                                                                                                                                                                                                                                                    |
| <type=CloudflareAPIToken>       | api_token                       | string   | The `CloudflareAPITokenUpdate` `api_token`.                                                                                                                                                                                                                                                                                                                                           |
| <type=CloudflareAPIToken>       | type [*required*]               | enum     | The definition of the `CloudflareAPIToken` object. Allowed enum values: `CloudflareAPIToken`.                                                                                                                                                                                                                                                                                         |
| credentials                     | <type=CloudflareGlobalAPIToken> | object   | The definition of the `CloudflareGlobalAPIToken` object.                                                                                                                                                                                                                                                                                                                              |
| <type=CloudflareGlobalAPIToken> | auth_email                      | string   | The `CloudflareGlobalAPITokenUpdate` `auth_email`.                                                                                                                                                                                                                                                                                                                                    |
| <type=CloudflareGlobalAPIToken> | global_api_key                  | string   | The `CloudflareGlobalAPITokenUpdate` `global_api_key`.                                                                                                                                                                                                                                                                                                                                |
| <type=CloudflareGlobalAPIToken> | type [*required*]               | enum     | The definition of the `CloudflareGlobalAPIToken` object. Allowed enum values: `CloudflareGlobalAPIToken`.                                                                                                                                                                                                                                                                             |
| <type=Cloudflare>               | type [*required*]               | enum     | The definition of the `CloudflareIntegrationType` object. Allowed enum values: `Cloudflare`.                                                                                                                                                                                                                                                                                          |
| integration                     | <type=ConfigCat>                | object   | The definition of the `ConfigCatIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                            |
| <type=ConfigCat>                | credentials                     | <oneOf>  | The definition of the `ConfigCatCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                            |
| credentials                     | <type=ConfigCatSDKKey>          | object   | The definition of the `ConfigCatSDKKey` object.                                                                                                                                                                                                                                                                                                                                       |
| <type=ConfigCatSDKKey>          | api_password                    | string   | The `ConfigCatSDKKeyUpdate` `api_password`.                                                                                                                                                                                                                                                                                                                                           |
| <type=ConfigCatSDKKey>          | api_username                    | string   | The `ConfigCatSDKKeyUpdate` `api_username`.                                                                                                                                                                                                                                                                                                                                           |
| <type=ConfigCatSDKKey>          | sdk_key                         | string   | The `ConfigCatSDKKeyUpdate` `sdk_key`.                                                                                                                                                                                                                                                                                                                                                |
| <type=ConfigCatSDKKey>          | type [*required*]               | enum     | The definition of the `ConfigCatSDKKey` object. Allowed enum values: `ConfigCatSDKKey`.                                                                                                                                                                                                                                                                                               |
| <type=ConfigCat>                | type [*required*]               | enum     | The definition of the `ConfigCatIntegrationType` object. Allowed enum values: `ConfigCat`.                                                                                                                                                                                                                                                                                            |
| integration                     | <type=Datadog>                  | object   | The definition of the `DatadogIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                              |
| <type=Datadog>                  | credentials                     | <oneOf>  | The definition of the `DatadogCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                              |
| credentials                     | <type=DatadogAPIKey>            | object   | The definition of the `DatadogAPIKey` object.                                                                                                                                                                                                                                                                                                                                         |
| <type=DatadogAPIKey>            | api_key                         | string   | The `DatadogAPIKeyUpdate` `api_key`.                                                                                                                                                                                                                                                                                                                                                  |
| <type=DatadogAPIKey>            | app_key                         | string   | The `DatadogAPIKeyUpdate` `app_key`.                                                                                                                                                                                                                                                                                                                                                  |
| <type=DatadogAPIKey>            | datacenter                      | string   | The `DatadogAPIKeyUpdate` `datacenter`.                                                                                                                                                                                                                                                                                                                                               |
| <type=DatadogAPIKey>            | subdomain                       | string   | Custom subdomain used for Datadog URLs generated with this Connection. For example, if this org uses `https://acme.datadoghq.com` to access Datadog, set this field to `acme`. If this field is omitted, generated URLs will use the default site URL for its datacenter (see [https://docs.datadoghq.com/getting_started/site](https://docs.datadoghq.com/getting_started/site.md)). |
| <type=DatadogAPIKey>            | type [*required*]               | enum     | The definition of the `DatadogAPIKey` object. Allowed enum values: `DatadogAPIKey`.                                                                                                                                                                                                                                                                                                   |
| <type=Datadog>                  | type [*required*]               | enum     | The definition of the `DatadogIntegrationType` object. Allowed enum values: `Datadog`.                                                                                                                                                                                                                                                                                                |
| integration                     | <type=Fastly>                   | object   | The definition of the `FastlyIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                               |
| <type=Fastly>                   | credentials                     | <oneOf>  | The definition of the `FastlyCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                               |
| credentials                     | <type=FastlyAPIKey>             | object   | The definition of the `FastlyAPIKey` object.                                                                                                                                                                                                                                                                                                                                          |
| <type=FastlyAPIKey>             | api_key                         | string   | The `FastlyAPIKeyUpdate` `api_key`.                                                                                                                                                                                                                                                                                                                                                   |
| <type=FastlyAPIKey>             | type [*required*]               | enum     | The definition of the `FastlyAPIKey` object. Allowed enum values: `FastlyAPIKey`.                                                                                                                                                                                                                                                                                                     |
| <type=Fastly>                   | type [*required*]               | enum     | The definition of the `FastlyIntegrationType` object. Allowed enum values: `Fastly`.                                                                                                                                                                                                                                                                                                  |
| integration                     | <type=Freshservice>             | object   | The definition of the `FreshserviceIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                         |
| <type=Freshservice>             | credentials                     | <oneOf>  | The definition of the `FreshserviceCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                         |
| credentials                     | <type=FreshserviceAPIKey>       | object   | The definition of the `FreshserviceAPIKey` object.                                                                                                                                                                                                                                                                                                                                    |
| <type=FreshserviceAPIKey>       | api_key                         | string   | The `FreshserviceAPIKeyUpdate` `api_key`.                                                                                                                                                                                                                                                                                                                                             |
| <type=FreshserviceAPIKey>       | domain                          | string   | The `FreshserviceAPIKeyUpdate` `domain`.                                                                                                                                                                                                                                                                                                                                              |
| <type=FreshserviceAPIKey>       | type [*required*]               | enum     | The definition of the `FreshserviceAPIKey` object. Allowed enum values: `FreshserviceAPIKey`.                                                                                                                                                                                                                                                                                         |
| <type=Freshservice>             | type [*required*]               | enum     | The definition of the `FreshserviceIntegrationType` object. Allowed enum values: `Freshservice`.                                                                                                                                                                                                                                                                                      |
| integration                     | <type=GCP>                      | object   | The definition of the `GCPIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                                  |
| <type=GCP>                      | credentials                     | <oneOf>  | The definition of the `GCPCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                                  |
| credentials                     | <type=GCPServiceAccount>        | object   | The definition of the `GCPServiceAccount` object.                                                                                                                                                                                                                                                                                                                                     |
| <type=GCPServiceAccount>        | private_key                     | string   | The `GCPServiceAccountUpdate` `private_key`.                                                                                                                                                                                                                                                                                                                                          |
| <type=GCPServiceAccount>        | service_account_email           | string   | The `GCPServiceAccountUpdate` `service_account_email`.                                                                                                                                                                                                                                                                                                                                |
| <type=GCPServiceAccount>        | type [*required*]               | enum     | The definition of the `GCPServiceAccount` object. Allowed enum values: `GCPServiceAccount`.                                                                                                                                                                                                                                                                                           |
| <type=GCP>                      | type [*required*]               | enum     | The definition of the `GCPIntegrationType` object. Allowed enum values: `GCP`.                                                                                                                                                                                                                                                                                                        |
| integration                     | <type=Gemini>                   | object   | The definition of the `GeminiIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                               |
| <type=Gemini>                   | credentials                     | <oneOf>  | The definition of the `GeminiCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                               |
| credentials                     | <type=GeminiAPIKey>             | object   | The definition of the `GeminiAPIKey` object.                                                                                                                                                                                                                                                                                                                                          |
| <type=GeminiAPIKey>             | api_key                         | string   | The `GeminiAPIKeyUpdate` `api_key`.                                                                                                                                                                                                                                                                                                                                                   |
| <type=GeminiAPIKey>             | type [*required*]               | enum     | The definition of the `GeminiAPIKey` object. Allowed enum values: `GeminiAPIKey`.                                                                                                                                                                                                                                                                                                     |
| <type=Gemini>                   | type [*required*]               | enum     | The definition of the `GeminiIntegrationType` object. Allowed enum values: `Gemini`.                                                                                                                                                                                                                                                                                                  |
| integration                     | <type=Gitlab>                   | object   | The definition of the `GitlabIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                               |
| <type=Gitlab>                   | credentials                     | <oneOf>  | The definition of the `GitlabCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                               |
| credentials                     | <type=GitlabAPIKey>             | object   | The definition of the `GitlabAPIKey` object.                                                                                                                                                                                                                                                                                                                                          |
| <type=GitlabAPIKey>             | api_token                       | string   | The `GitlabAPIKeyUpdate` `api_token`.                                                                                                                                                                                                                                                                                                                                                 |
| <type=GitlabAPIKey>             | type [*required*]               | enum     | The definition of the `GitlabAPIKey` object. Allowed enum values: `GitlabAPIKey`.                                                                                                                                                                                                                                                                                                     |
| <type=Gitlab>                   | type [*required*]               | enum     | The definition of the `GitlabIntegrationType` object. Allowed enum values: `Gitlab`.                                                                                                                                                                                                                                                                                                  |
| integration                     | <type=GreyNoise>                | object   | The definition of the `GreyNoiseIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                            |
| <type=GreyNoise>                | credentials                     | <oneOf>  | The definition of the `GreyNoiseCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                            |
| credentials                     | <type=GreyNoiseAPIKey>          | object   | The definition of the `GreyNoiseAPIKey` object.                                                                                                                                                                                                                                                                                                                                       |
| <type=GreyNoiseAPIKey>          | api_key                         | string   | The `GreyNoiseAPIKeyUpdate` `api_key`.                                                                                                                                                                                                                                                                                                                                                |
| <type=GreyNoiseAPIKey>          | type [*required*]               | enum     | The definition of the `GreyNoiseAPIKey` object. Allowed enum values: `GreyNoiseAPIKey`.                                                                                                                                                                                                                                                                                               |
| <type=GreyNoise>                | type [*required*]               | enum     | The definition of the `GreyNoiseIntegrationType` object. Allowed enum values: `GreyNoise`.                                                                                                                                                                                                                                                                                            |
| integration                     | <type=HTTP>                     | object   | The definition of `HTTPIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                                     |
| <type=HTTP>                     | base_url                        | string   | Base HTTP url for the integration                                                                                                                                                                                                                                                                                                                                                     |
| <type=HTTP>                     | credentials                     | <oneOf>  | The definition of `HTTPCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                                     |
| credentials                     | <type=HTTPTokenAuth>            | object   | The definition of `HTTPTokenAuthUpdate` object.                                                                                                                                                                                                                                                                                                                                       |
| <type=HTTPTokenAuth>            | body                            | object   | The definition of `HTTPBody` object.                                                                                                                                                                                                                                                                                                                                                  |
| body                            | content                         | string   | Serialized body content                                                                                                                                                                                                                                                                                                                                                               |
| body                            | content_type                    | string   | Content type of the body                                                                                                                                                                                                                                                                                                                                                              |
| <type=HTTPTokenAuth>            | headers                         | [object] | The `HTTPTokenAuthUpdate` `headers`.                                                                                                                                                                                                                                                                                                                                                  |
| headers                         | deleted                         | boolean  | Should the header be deleted.                                                                                                                                                                                                                                                                                                                                                         |
| headers                         | name [*required*]               | string   | The `HTTPHeaderUpdate` `name`.                                                                                                                                                                                                                                                                                                                                                        |
| headers                         | value                           | string   | The `HTTPHeaderUpdate` `value`.                                                                                                                                                                                                                                                                                                                                                       |
| <type=HTTPTokenAuth>            | tokens                          | [object] | The `HTTPTokenAuthUpdate` `tokens`.                                                                                                                                                                                                                                                                                                                                                   |
| tokens                          | deleted                         | boolean  | Should the header be deleted.                                                                                                                                                                                                                                                                                                                                                         |
| tokens                          | name [*required*]               | string   | The `HTTPToken` `name`.                                                                                                                                                                                                                                                                                                                                                               |
| tokens                          | type [*required*]               | enum     | The definition of `TokenType` object. Allowed enum values: `SECRET`.                                                                                                                                                                                                                                                                                                                  |
| tokens                          | value [*required*]              | string   | The `HTTPToken` `value`.                                                                                                                                                                                                                                                                                                                                                              |
| <type=HTTPTokenAuth>            | type [*required*]               | enum     | The definition of `HTTPTokenAuthType` object. Allowed enum values: `HTTPTokenAuth`.                                                                                                                                                                                                                                                                                                   |
| <type=HTTPTokenAuth>            | url_parameters                  | [object] | The `HTTPTokenAuthUpdate` `url_parameters`.                                                                                                                                                                                                                                                                                                                                           |
| url_parameters                  | deleted                         | boolean  | Should the header be deleted.                                                                                                                                                                                                                                                                                                                                                         |
| url_parameters                  | name [*required*]               | string   | Name for tokens.                                                                                                                                                                                                                                                                                                                                                                      |
| url_parameters                  | value                           | string   | The `UrlParamUpdate` `value`.                                                                                                                                                                                                                                                                                                                                                         |
| <type=HTTP>                     | type [*required*]               | enum     | The definition of `HTTPIntegrationType` object. Allowed enum values: `HTTP`.                                                                                                                                                                                                                                                                                                          |
| integration                     | <type=LaunchDarkly>             | object   | The definition of the `LaunchDarklyIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                         |
| <type=LaunchDarkly>             | credentials                     | <oneOf>  | The definition of the `LaunchDarklyCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                         |
| credentials                     | <type=LaunchDarklyAPIKey>       | object   | The definition of the `LaunchDarklyAPIKey` object.                                                                                                                                                                                                                                                                                                                                    |
| <type=LaunchDarklyAPIKey>       | api_token                       | string   | The `LaunchDarklyAPIKeyUpdate` `api_token`.                                                                                                                                                                                                                                                                                                                                           |
| <type=LaunchDarklyAPIKey>       | type [*required*]               | enum     | The definition of the `LaunchDarklyAPIKey` object. Allowed enum values: `LaunchDarklyAPIKey`.                                                                                                                                                                                                                                                                                         |
| <type=LaunchDarkly>             | type [*required*]               | enum     | The definition of the `LaunchDarklyIntegrationType` object. Allowed enum values: `LaunchDarkly`.                                                                                                                                                                                                                                                                                      |
| integration                     | <type=Notion>                   | object   | The definition of the `NotionIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                               |
| <type=Notion>                   | credentials                     | <oneOf>  | The definition of the `NotionCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                               |
| credentials                     | <type=NotionAPIKey>             | object   | The definition of the `NotionAPIKey` object.                                                                                                                                                                                                                                                                                                                                          |
| <type=NotionAPIKey>             | api_token                       | string   | The `NotionAPIKeyUpdate` `api_token`.                                                                                                                                                                                                                                                                                                                                                 |
| <type=NotionAPIKey>             | type [*required*]               | enum     | The definition of the `NotionAPIKey` object. Allowed enum values: `NotionAPIKey`.                                                                                                                                                                                                                                                                                                     |
| <type=Notion>                   | type [*required*]               | enum     | The definition of the `NotionIntegrationType` object. Allowed enum values: `Notion`.                                                                                                                                                                                                                                                                                                  |
| integration                     | <type=Okta>                     | object   | The definition of the `OktaIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                                 |
| <type=Okta>                     | credentials                     | <oneOf>  | The definition of the `OktaCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                                 |
| credentials                     | <type=OktaAPIToken>             | object   | The definition of the `OktaAPIToken` object.                                                                                                                                                                                                                                                                                                                                          |
| <type=OktaAPIToken>             | api_token                       | string   | The `OktaAPITokenUpdate` `api_token`.                                                                                                                                                                                                                                                                                                                                                 |
| <type=OktaAPIToken>             | domain                          | string   | The `OktaAPITokenUpdate` `domain`.                                                                                                                                                                                                                                                                                                                                                    |
| <type=OktaAPIToken>             | type [*required*]               | enum     | The definition of the `OktaAPIToken` object. Allowed enum values: `OktaAPIToken`.                                                                                                                                                                                                                                                                                                     |
| <type=Okta>                     | type [*required*]               | enum     | The definition of the `OktaIntegrationType` object. Allowed enum values: `Okta`.                                                                                                                                                                                                                                                                                                      |
| integration                     | <type=OpenAI>                   | object   | The definition of the `OpenAIIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                               |
| <type=OpenAI>                   | credentials                     | <oneOf>  | The definition of the `OpenAICredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                               |
| credentials                     | <type=OpenAIAPIKey>             | object   | The definition of the `OpenAIAPIKey` object.                                                                                                                                                                                                                                                                                                                                          |
| <type=OpenAIAPIKey>             | api_token                       | string   | The `OpenAIAPIKeyUpdate` `api_token`.                                                                                                                                                                                                                                                                                                                                                 |
| <type=OpenAIAPIKey>             | type [*required*]               | enum     | The definition of the `OpenAIAPIKey` object. Allowed enum values: `OpenAIAPIKey`.                                                                                                                                                                                                                                                                                                     |
| <type=OpenAI>                   | type [*required*]               | enum     | The definition of the `OpenAIIntegrationType` object. Allowed enum values: `OpenAI`.                                                                                                                                                                                                                                                                                                  |
| integration                     | <type=ServiceNow>               | object   | The definition of the `ServiceNowIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                           |
| <type=ServiceNow>               | credentials                     | <oneOf>  | The definition of the `ServiceNowCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                           |
| credentials                     | <type=ServiceNowBasicAuth>      | object   | The definition of the `ServiceNowBasicAuth` object.                                                                                                                                                                                                                                                                                                                                   |
| <type=ServiceNowBasicAuth>      | instance                        | string   | The `ServiceNowBasicAuthUpdate` `instance`.                                                                                                                                                                                                                                                                                                                                           |
| <type=ServiceNowBasicAuth>      | password                        | string   | The `ServiceNowBasicAuthUpdate` `password`.                                                                                                                                                                                                                                                                                                                                           |
| <type=ServiceNowBasicAuth>      | type [*required*]               | enum     | The definition of the `ServiceNowBasicAuth` object. Allowed enum values: `ServiceNowBasicAuth`.                                                                                                                                                                                                                                                                                       |
| <type=ServiceNowBasicAuth>      | username                        | string   | The `ServiceNowBasicAuthUpdate` `username`.                                                                                                                                                                                                                                                                                                                                           |
| <type=ServiceNow>               | type [*required*]               | enum     | The definition of the `ServiceNowIntegrationType` object. Allowed enum values: `ServiceNow`.                                                                                                                                                                                                                                                                                          |
| integration                     | <type=Split>                    | object   | The definition of the `SplitIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                                |
| <type=Split>                    | credentials                     | <oneOf>  | The definition of the `SplitCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                                |
| credentials                     | <type=SplitAPIKey>              | object   | The definition of the `SplitAPIKey` object.                                                                                                                                                                                                                                                                                                                                           |
| <type=SplitAPIKey>              | api_key                         | string   | The `SplitAPIKeyUpdate` `api_key`.                                                                                                                                                                                                                                                                                                                                                    |
| <type=SplitAPIKey>              | type [*required*]               | enum     | The definition of the `SplitAPIKey` object. Allowed enum values: `SplitAPIKey`.                                                                                                                                                                                                                                                                                                       |
| <type=Split>                    | type [*required*]               | enum     | The definition of the `SplitIntegrationType` object. Allowed enum values: `Split`.                                                                                                                                                                                                                                                                                                    |
| integration                     | <type=Statsig>                  | object   | The definition of the `StatsigIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                              |
| <type=Statsig>                  | credentials                     | <oneOf>  | The definition of the `StatsigCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                              |
| credentials                     | <type=StatsigAPIKey>            | object   | The definition of the `StatsigAPIKey` object.                                                                                                                                                                                                                                                                                                                                         |
| <type=StatsigAPIKey>            | api_key                         | string   | The `StatsigAPIKeyUpdate` `api_key`.                                                                                                                                                                                                                                                                                                                                                  |
| <type=StatsigAPIKey>            | type [*required*]               | enum     | The definition of the `StatsigAPIKey` object. Allowed enum values: `StatsigAPIKey`.                                                                                                                                                                                                                                                                                                   |
| <type=Statsig>                  | type [*required*]               | enum     | The definition of the `StatsigIntegrationType` object. Allowed enum values: `Statsig`.                                                                                                                                                                                                                                                                                                |
| integration                     | <type=VirusTotal>               | object   | The definition of the `VirusTotalIntegrationUpdate` object.                                                                                                                                                                                                                                                                                                                           |
| <type=VirusTotal>               | credentials                     | <oneOf>  | The definition of the `VirusTotalCredentialsUpdate` object.                                                                                                                                                                                                                                                                                                                           |
| credentials                     | <type=VirusTotalAPIKey>         | object   | The definition of the `VirusTotalAPIKey` object.                                                                                                                                                                                                                                                                                                                                      |
| <type=VirusTotalAPIKey>         | api_key                         | string   | The `VirusTotalAPIKeyUpdate` `api_key`.                                                                                                                                                                                                                                                                                                                                               |
| <type=VirusTotalAPIKey>         | type [*required*]               | enum     | The definition of the `VirusTotalAPIKey` object. Allowed enum values: `VirusTotalAPIKey`.                                                                                                                                                                                                                                                                                             |
| <type=VirusTotal>               | type [*required*]               | enum     | The definition of the `VirusTotalIntegrationType` object. Allowed enum values: `VirusTotal`.                                                                                                                                                                                                                                                                                          |
| attributes                      | name                            | string   | Name of the connection                                                                                                                                                                                                                                                                                                                                                                |
| attributes                      | tags                            | [string] | Tags associated with the connection. Each tag must follow the `key:value` format. The `default` tag key is reserved.                                                                                                                                                                                                                                                                  |
| data                            | type [*required*]               | enum     | The definition of `ActionConnectionDataType` object. Allowed enum values: `action_connection`.                                                                                                                                                                                                                                                                                        |
{% /tab %}

{% tab label="Example" %}
```json
{
  "data": {
    "type": "action_connection",
    "attributes": {
      "name": "Cassette Connection",
      "integration": {
        "type": "AWS",
        "credentials": {
          "type": "AWSAssumeRole",
          "role": "MyRoleUpdated",
          "account_id": "123456789123"
        }
      }
    }
  }
}
```
{% /tab %}
{% /tabs %}

### Response

{% tabs %}
{% tab label="200" %}
Successfully updated Action Connection

{% tabs %}
{% tab label="Model" %}
The response for an updated connection.

| Parent field                    | Field                              | Type     | Description                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------------------- | ---------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|                                 | data                               | object   | Data related to the connection.                                                                                                                                                                                                                                                                                                                                                       |
| data                            | attributes [*required*]            | object   | The definition of `ActionConnectionAttributes` object.                                                                                                                                                                                                                                                                                                                                |
| attributes                      | integration [*required*]           | <oneOf>  | The definition of `ActionConnectionIntegration` object.                                                                                                                                                                                                                                                                                                                               |
| integration                     | <type=AWS>                         | object   | The definition of `AWSIntegration` object.                                                                                                                                                                                                                                                                                                                                            |
| <type=AWS>                      | credentials [*required*]           | <oneOf>  | The definition of `AWSCredentials` object.                                                                                                                                                                                                                                                                                                                                            |
| credentials                     | <type=AWSAssumeRole>               | object   | The definition of `AWSAssumeRole` object.                                                                                                                                                                                                                                                                                                                                             |
| <type=AWSAssumeRole>            | account_id [*required*]            | string   | AWS account the connection is created for                                                                                                                                                                                                                                                                                                                                             |
| <type=AWSAssumeRole>            | external_id                        | string   | External ID used to scope which connection can be used to assume the role Read-only.                                                                                                                                                                                                                                                                                                  |
| <type=AWSAssumeRole>            | principal_id                       | string   | AWS account that will assume the role Read-only.                                                                                                                                                                                                                                                                                                                                      |
| <type=AWSAssumeRole>            | role [*required*]                  | string   | Role to assume                                                                                                                                                                                                                                                                                                                                                                        |
| <type=AWSAssumeRole>            | type [*required*]                  | enum     | The definition of `AWSAssumeRoleType` object. Allowed enum values: `AWSAssumeRole`.                                                                                                                                                                                                                                                                                                   |
| <type=AWS>                      | type [*required*]                  | enum     | The definition of `AWSIntegrationType` object. Allowed enum values: `AWS`.                                                                                                                                                                                                                                                                                                            |
| integration                     | <type=Anthropic>                   | object   | The definition of the `AnthropicIntegration` object.                                                                                                                                                                                                                                                                                                                                  |
| <type=Anthropic>                | credentials [*required*]           | <oneOf>  | The definition of the `AnthropicCredentials` object.                                                                                                                                                                                                                                                                                                                                  |
| credentials                     | <type=AnthropicAPIKey>             | object   | The definition of the `AnthropicAPIKey` object.                                                                                                                                                                                                                                                                                                                                       |
| <type=AnthropicAPIKey>          | api_token [*required*]             | string   | The `AnthropicAPIKey` `api_token`.                                                                                                                                                                                                                                                                                                                                                    |
| <type=AnthropicAPIKey>          | type [*required*]                  | enum     | The definition of the `AnthropicAPIKey` object. Allowed enum values: `AnthropicAPIKey`.                                                                                                                                                                                                                                                                                               |
| <type=Anthropic>                | type [*required*]                  | enum     | The definition of the `AnthropicIntegrationType` object. Allowed enum values: `Anthropic`.                                                                                                                                                                                                                                                                                            |
| integration                     | <type=Asana>                       | object   | The definition of the `AsanaIntegration` object.                                                                                                                                                                                                                                                                                                                                      |
| <type=Asana>                    | credentials [*required*]           | <oneOf>  | The definition of the `AsanaCredentials` object.                                                                                                                                                                                                                                                                                                                                      |
| credentials                     | <type=AsanaAccessToken>            | object   | The definition of the `AsanaAccessToken` object.                                                                                                                                                                                                                                                                                                                                      |
| <type=AsanaAccessToken>         | access_token [*required*]          | string   | The `AsanaAccessToken` `access_token`.                                                                                                                                                                                                                                                                                                                                                |
| <type=AsanaAccessToken>         | type [*required*]                  | enum     | The definition of the `AsanaAccessToken` object. Allowed enum values: `AsanaAccessToken`.                                                                                                                                                                                                                                                                                             |
| <type=Asana>                    | type [*required*]                  | enum     | The definition of the `AsanaIntegrationType` object. Allowed enum values: `Asana`.                                                                                                                                                                                                                                                                                                    |
| integration                     | <type=Azure>                       | object   | The definition of the `AzureIntegration` object.                                                                                                                                                                                                                                                                                                                                      |
| <type=Azure>                    | credentials [*required*]           | <oneOf>  | The definition of the `AzureCredentials` object.                                                                                                                                                                                                                                                                                                                                      |
| credentials                     | <type=AzureTenant>                 | object   | The definition of the `AzureTenant` object.                                                                                                                                                                                                                                                                                                                                           |
| <type=AzureTenant>              | app_client_id [*required*]         | string   | The Client ID, also known as the Application ID in Azure, is a unique identifier for an application. It's used to identify the application during the authentication process. Your Application (client) ID is listed in the application's overview page. You can navigate to your application via the Azure Directory.                                                                |
| <type=AzureTenant>              | client_secret [*required*]         | string   | The Client Secret is a confidential piece of information known only to the application and Azure AD. It's used to prove the application's identity. Your Client Secret is available from the application’s secrets page. You can navigate to your application via the Azure Directory.                                                                                                |
| <type=AzureTenant>              | custom_scopes                      | string   | If provided, the custom scope to be requested from Microsoft when acquiring an OAuth 2 access token. This custom scope is used only in conjunction with the HTTP action. A resource's scope is constructed by using the identifier URI for the resource and .default, separated by a forward slash (/) as follows:{identifierURI}/.default.                                           |
| <type=AzureTenant>              | tenant_id [*required*]             | string   | The Tenant ID, also known as the Directory ID in Azure, is a unique identifier that represents an Azure AD instance. Your Tenant ID (Directory ID) is listed in your Active Directory overview page under the 'Tenant information' section.                                                                                                                                           |
| <type=AzureTenant>              | type [*required*]                  | enum     | The definition of the `AzureTenant` object. Allowed enum values: `AzureTenant`.                                                                                                                                                                                                                                                                                                       |
| <type=Azure>                    | type [*required*]                  | enum     | The definition of the `AzureIntegrationType` object. Allowed enum values: `Azure`.                                                                                                                                                                                                                                                                                                    |
| integration                     | <type=CircleCI>                    | object   | The definition of the `CircleCIIntegration` object.                                                                                                                                                                                                                                                                                                                                   |
| <type=CircleCI>                 | credentials [*required*]           | <oneOf>  | The definition of the `CircleCICredentials` object.                                                                                                                                                                                                                                                                                                                                   |
| credentials                     | <type=CircleCIAPIKey>              | object   | The definition of the `CircleCIAPIKey` object.                                                                                                                                                                                                                                                                                                                                        |
| <type=CircleCIAPIKey>           | api_token [*required*]             | string   | The `CircleCIAPIKey` `api_token`.                                                                                                                                                                                                                                                                                                                                                     |
| <type=CircleCIAPIKey>           | type [*required*]                  | enum     | The definition of the `CircleCIAPIKey` object. Allowed enum values: `CircleCIAPIKey`.                                                                                                                                                                                                                                                                                                 |
| <type=CircleCI>                 | type [*required*]                  | enum     | The definition of the `CircleCIIntegrationType` object. Allowed enum values: `CircleCI`.                                                                                                                                                                                                                                                                                              |
| integration                     | <type=Clickup>                     | object   | The definition of the `ClickupIntegration` object.                                                                                                                                                                                                                                                                                                                                    |
| <type=Clickup>                  | credentials [*required*]           | <oneOf>  | The definition of the `ClickupCredentials` object.                                                                                                                                                                                                                                                                                                                                    |
| credentials                     | <type=ClickupAPIKey>               | object   | The definition of the `ClickupAPIKey` object.                                                                                                                                                                                                                                                                                                                                         |
| <type=ClickupAPIKey>            | api_token [*required*]             | string   | The `ClickupAPIKey` `api_token`.                                                                                                                                                                                                                                                                                                                                                      |
| <type=ClickupAPIKey>            | type [*required*]                  | enum     | The definition of the `ClickupAPIKey` object. Allowed enum values: `ClickupAPIKey`.                                                                                                                                                                                                                                                                                                   |
| <type=Clickup>                  | type [*required*]                  | enum     | The definition of the `ClickupIntegrationType` object. Allowed enum values: `Clickup`.                                                                                                                                                                                                                                                                                                |
| integration                     | <type=Cloudflare>                  | object   | The definition of the `CloudflareIntegration` object.                                                                                                                                                                                                                                                                                                                                 |
| <type=Cloudflare>               | credentials [*required*]           | <oneOf>  | The definition of the `CloudflareCredentials` object.                                                                                                                                                                                                                                                                                                                                 |
| credentials                     | <type=CloudflareAPIToken>          | object   | The definition of the `CloudflareAPIToken` object.                                                                                                                                                                                                                                                                                                                                    |
| <type=CloudflareAPIToken>       | api_token [*required*]             | string   | The `CloudflareAPIToken` `api_token`.                                                                                                                                                                                                                                                                                                                                                 |
| <type=CloudflareAPIToken>       | type [*required*]                  | enum     | The definition of the `CloudflareAPIToken` object. Allowed enum values: `CloudflareAPIToken`.                                                                                                                                                                                                                                                                                         |
| credentials                     | <type=CloudflareGlobalAPIToken>    | object   | The definition of the `CloudflareGlobalAPIToken` object.                                                                                                                                                                                                                                                                                                                              |
| <type=CloudflareGlobalAPIToken> | auth_email [*required*]            | string   | The `CloudflareGlobalAPIToken` `auth_email`.                                                                                                                                                                                                                                                                                                                                          |
| <type=CloudflareGlobalAPIToken> | global_api_key [*required*]        | string   | The `CloudflareGlobalAPIToken` `global_api_key`.                                                                                                                                                                                                                                                                                                                                      |
| <type=CloudflareGlobalAPIToken> | type [*required*]                  | enum     | The definition of the `CloudflareGlobalAPIToken` object. Allowed enum values: `CloudflareGlobalAPIToken`.                                                                                                                                                                                                                                                                             |
| <type=Cloudflare>               | type [*required*]                  | enum     | The definition of the `CloudflareIntegrationType` object. Allowed enum values: `Cloudflare`.                                                                                                                                                                                                                                                                                          |
| integration                     | <type=ConfigCat>                   | object   | The definition of the `ConfigCatIntegration` object.                                                                                                                                                                                                                                                                                                                                  |
| <type=ConfigCat>                | credentials [*required*]           | <oneOf>  | The definition of the `ConfigCatCredentials` object.                                                                                                                                                                                                                                                                                                                                  |
| credentials                     | <type=ConfigCatSDKKey>             | object   | The definition of the `ConfigCatSDKKey` object.                                                                                                                                                                                                                                                                                                                                       |
| <type=ConfigCatSDKKey>          | api_password [*required*]          | string   | The `ConfigCatSDKKey` `api_password`.                                                                                                                                                                                                                                                                                                                                                 |
| <type=ConfigCatSDKKey>          | api_username [*required*]          | string   | The `ConfigCatSDKKey` `api_username`.                                                                                                                                                                                                                                                                                                                                                 |
| <type=ConfigCatSDKKey>          | sdk_key [*required*]               | string   | The `ConfigCatSDKKey` `sdk_key`.                                                                                                                                                                                                                                                                                                                                                      |
| <type=ConfigCatSDKKey>          | type [*required*]                  | enum     | The definition of the `ConfigCatSDKKey` object. Allowed enum values: `ConfigCatSDKKey`.                                                                                                                                                                                                                                                                                               |
| <type=ConfigCat>                | type [*required*]                  | enum     | The definition of the `ConfigCatIntegrationType` object. Allowed enum values: `ConfigCat`.                                                                                                                                                                                                                                                                                            |
| integration                     | <type=Datadog>                     | object   | The definition of the `DatadogIntegration` object.                                                                                                                                                                                                                                                                                                                                    |
| <type=Datadog>                  | credentials [*required*]           | <oneOf>  | The definition of the `DatadogCredentials` object.                                                                                                                                                                                                                                                                                                                                    |
| credentials                     | <type=DatadogAPIKey>               | object   | The definition of the `DatadogAPIKey` object.                                                                                                                                                                                                                                                                                                                                         |
| <type=DatadogAPIKey>            | api_key [*required*]               | string   | The `DatadogAPIKey` `api_key`.                                                                                                                                                                                                                                                                                                                                                        |
| <type=DatadogAPIKey>            | app_key [*required*]               | string   | The `DatadogAPIKey` `app_key`.                                                                                                                                                                                                                                                                                                                                                        |
| <type=DatadogAPIKey>            | datacenter [*required*]            | string   | The `DatadogAPIKey` `datacenter`.                                                                                                                                                                                                                                                                                                                                                     |
| <type=DatadogAPIKey>            | subdomain                          | string   | Custom subdomain used for Datadog URLs generated with this Connection. For example, if this org uses `https://acme.datadoghq.com` to access Datadog, set this field to `acme`. If this field is omitted, generated URLs will use the default site URL for its datacenter (see [https://docs.datadoghq.com/getting_started/site](https://docs.datadoghq.com/getting_started/site.md)). |
| <type=DatadogAPIKey>            | type [*required*]                  | enum     | The definition of the `DatadogAPIKey` object. Allowed enum values: `DatadogAPIKey`.                                                                                                                                                                                                                                                                                                   |
| <type=Datadog>                  | type [*required*]                  | enum     | The definition of the `DatadogIntegrationType` object. Allowed enum values: `Datadog`.                                                                                                                                                                                                                                                                                                |
| integration                     | <type=Fastly>                      | object   | The definition of the `FastlyIntegration` object.                                                                                                                                                                                                                                                                                                                                     |
| <type=Fastly>                   | credentials [*required*]           | <oneOf>  | The definition of the `FastlyCredentials` object.                                                                                                                                                                                                                                                                                                                                     |
| credentials                     | <type=FastlyAPIKey>                | object   | The definition of the `FastlyAPIKey` object.                                                                                                                                                                                                                                                                                                                                          |
| <type=FastlyAPIKey>             | api_key [*required*]               | string   | The `FastlyAPIKey` `api_key`.                                                                                                                                                                                                                                                                                                                                                         |
| <type=FastlyAPIKey>             | type [*required*]                  | enum     | The definition of the `FastlyAPIKey` object. Allowed enum values: `FastlyAPIKey`.                                                                                                                                                                                                                                                                                                     |
| <type=Fastly>                   | type [*required*]                  | enum     | The definition of the `FastlyIntegrationType` object. Allowed enum values: `Fastly`.                                                                                                                                                                                                                                                                                                  |
| integration                     | <type=Freshservice>                | object   | The definition of the `FreshserviceIntegration` object.                                                                                                                                                                                                                                                                                                                               |
| <type=Freshservice>             | credentials [*required*]           | <oneOf>  | The definition of the `FreshserviceCredentials` object.                                                                                                                                                                                                                                                                                                                               |
| credentials                     | <type=FreshserviceAPIKey>          | object   | The definition of the `FreshserviceAPIKey` object.                                                                                                                                                                                                                                                                                                                                    |
| <type=FreshserviceAPIKey>       | api_key [*required*]               | string   | The `FreshserviceAPIKey` `api_key`.                                                                                                                                                                                                                                                                                                                                                   |
| <type=FreshserviceAPIKey>       | domain [*required*]                | string   | The `FreshserviceAPIKey` `domain`.                                                                                                                                                                                                                                                                                                                                                    |
| <type=FreshserviceAPIKey>       | type [*required*]                  | enum     | The definition of the `FreshserviceAPIKey` object. Allowed enum values: `FreshserviceAPIKey`.                                                                                                                                                                                                                                                                                         |
| <type=Freshservice>             | type [*required*]                  | enum     | The definition of the `FreshserviceIntegrationType` object. Allowed enum values: `Freshservice`.                                                                                                                                                                                                                                                                                      |
| integration                     | <type=GCP>                         | object   | The definition of the `GCPIntegration` object.                                                                                                                                                                                                                                                                                                                                        |
| <type=GCP>                      | credentials [*required*]           | <oneOf>  | The definition of the `GCPCredentials` object.                                                                                                                                                                                                                                                                                                                                        |
| credentials                     | <type=GCPServiceAccount>           | object   | The definition of the `GCPServiceAccount` object.                                                                                                                                                                                                                                                                                                                                     |
| <type=GCPServiceAccount>        | private_key [*required*]           | string   | The `GCPServiceAccount` `private_key`.                                                                                                                                                                                                                                                                                                                                                |
| <type=GCPServiceAccount>        | service_account_email [*required*] | string   | The `GCPServiceAccount` `service_account_email`.                                                                                                                                                                                                                                                                                                                                      |
| <type=GCPServiceAccount>        | type [*required*]                  | enum     | The definition of the `GCPServiceAccount` object. Allowed enum values: `GCPServiceAccount`.                                                                                                                                                                                                                                                                                           |
| <type=GCP>                      | type [*required*]                  | enum     | The definition of the `GCPIntegrationType` object. Allowed enum values: `GCP`.                                                                                                                                                                                                                                                                                                        |
| integration                     | <type=Gemini>                      | object   | The definition of the `GeminiIntegration` object.                                                                                                                                                                                                                                                                                                                                     |
| <type=Gemini>                   | credentials [*required*]           | <oneOf>  | The definition of the `GeminiCredentials` object.                                                                                                                                                                                                                                                                                                                                     |
| credentials                     | <type=GeminiAPIKey>                | object   | The definition of the `GeminiAPIKey` object.                                                                                                                                                                                                                                                                                                                                          |
| <type=GeminiAPIKey>             | api_key [*required*]               | string   | The `GeminiAPIKey` `api_key`.                                                                                                                                                                                                                                                                                                                                                         |
| <type=GeminiAPIKey>             | type [*required*]                  | enum     | The definition of the `GeminiAPIKey` object. Allowed enum values: `GeminiAPIKey`.                                                                                                                                                                                                                                                                                                     |
| <type=Gemini>                   | type [*required*]                  | enum     | The definition of the `GeminiIntegrationType` object. Allowed enum values: `Gemini`.                                                                                                                                                                                                                                                                                                  |
| integration                     | <type=Gitlab>                      | object   | The definition of the `GitlabIntegration` object.                                                                                                                                                                                                                                                                                                                                     |
| <type=Gitlab>                   | credentials [*required*]           | <oneOf>  | The definition of the `GitlabCredentials` object.                                                                                                                                                                                                                                                                                                                                     |
| credentials                     | <type=GitlabAPIKey>                | object   | The definition of the `GitlabAPIKey` object.                                                                                                                                                                                                                                                                                                                                          |
| <type=GitlabAPIKey>             | api_token [*required*]             | string   | The `GitlabAPIKey` `api_token`.                                                                                                                                                                                                                                                                                                                                                       |
| <type=GitlabAPIKey>             | type [*required*]                  | enum     | The definition of the `GitlabAPIKey` object. Allowed enum values: `GitlabAPIKey`.                                                                                                                                                                                                                                                                                                     |
| <type=Gitlab>                   | type [*required*]                  | enum     | The definition of the `GitlabIntegrationType` object. Allowed enum values: `Gitlab`.                                                                                                                                                                                                                                                                                                  |
| integration                     | <type=GreyNoise>                   | object   | The definition of the `GreyNoiseIntegration` object.                                                                                                                                                                                                                                                                                                                                  |
| <type=GreyNoise>                | credentials [*required*]           | <oneOf>  | The definition of the `GreyNoiseCredentials` object.                                                                                                                                                                                                                                                                                                                                  |
| credentials                     | <type=GreyNoiseAPIKey>             | object   | The definition of the `GreyNoiseAPIKey` object.                                                                                                                                                                                                                                                                                                                                       |
| <type=GreyNoiseAPIKey>          | api_key [*required*]               | string   | The `GreyNoiseAPIKey` `api_key`.                                                                                                                                                                                                                                                                                                                                                      |
| <type=GreyNoiseAPIKey>          | type [*required*]                  | enum     | The definition of the `GreyNoiseAPIKey` object. Allowed enum values: `GreyNoiseAPIKey`.                                                                                                                                                                                                                                                                                               |
| <type=GreyNoise>                | type [*required*]                  | enum     | The definition of the `GreyNoiseIntegrationType` object. Allowed enum values: `GreyNoise`.                                                                                                                                                                                                                                                                                            |
| integration                     | <type=HTTP>                        | object   | The definition of `HTTPIntegration` object.                                                                                                                                                                                                                                                                                                                                           |
| <type=HTTP>                     | base_url [*required*]              | string   | Base HTTP url for the integration                                                                                                                                                                                                                                                                                                                                                     |
| <type=HTTP>                     | credentials [*required*]           | <oneOf>  | The definition of `HTTPCredentials` object.                                                                                                                                                                                                                                                                                                                                           |
| credentials                     | <type=HTTPTokenAuth>               | object   | The definition of `HTTPTokenAuth` object.                                                                                                                                                                                                                                                                                                                                             |
| <type=HTTPTokenAuth>            | body                               | object   | The definition of `HTTPBody` object.                                                                                                                                                                                                                                                                                                                                                  |
| body                            | content                            | string   | Serialized body content                                                                                                                                                                                                                                                                                                                                                               |
| body                            | content_type                       | string   | Content type of the body                                                                                                                                                                                                                                                                                                                                                              |
| <type=HTTPTokenAuth>            | headers                            | [object] | The `HTTPTokenAuth` `headers`.                                                                                                                                                                                                                                                                                                                                                        |
| headers                         | name [*required*]                  | string   | The `HTTPHeader` `name`.                                                                                                                                                                                                                                                                                                                                                              |
| headers                         | value [*required*]                 | string   | The `HTTPHeader` `value`.                                                                                                                                                                                                                                                                                                                                                             |
| <type=HTTPTokenAuth>            | tokens                             | [object] | The `HTTPTokenAuth` `tokens`.                                                                                                                                                                                                                                                                                                                                                         |
| tokens                          | name [*required*]                  | string   | The `HTTPToken` `name`.                                                                                                                                                                                                                                                                                                                                                               |
| tokens                          | type [*required*]                  | enum     | The definition of `TokenType` object. Allowed enum values: `SECRET`.                                                                                                                                                                                                                                                                                                                  |
| tokens                          | value [*required*]                 | string   | The `HTTPToken` `value`.                                                                                                                                                                                                                                                                                                                                                              |
| <type=HTTPTokenAuth>            | type [*required*]                  | enum     | The definition of `HTTPTokenAuthType` object. Allowed enum values: `HTTPTokenAuth`.                                                                                                                                                                                                                                                                                                   |
| <type=HTTPTokenAuth>            | url_parameters                     | [object] | The `HTTPTokenAuth` `url_parameters`.                                                                                                                                                                                                                                                                                                                                                 |
| url_parameters                  | name [*required*]                  | string   | Name for tokens.                                                                                                                                                                                                                                                                                                                                                                      |
| url_parameters                  | value [*required*]                 | string   | The `UrlParam` `value`.                                                                                                                                                                                                                                                                                                                                                               |
| <type=HTTP>                     | type [*required*]                  | enum     | The definition of `HTTPIntegrationType` object. Allowed enum values: `HTTP`.                                                                                                                                                                                                                                                                                                          |
| integration                     | <type=LaunchDarkly>                | object   | The definition of the `LaunchDarklyIntegration` object.                                                                                                                                                                                                                                                                                                                               |
| <type=LaunchDarkly>             | credentials [*required*]           | <oneOf>  | The definition of the `LaunchDarklyCredentials` object.                                                                                                                                                                                                                                                                                                                               |
| credentials                     | <type=LaunchDarklyAPIKey>          | object   | The definition of the `LaunchDarklyAPIKey` object.                                                                                                                                                                                                                                                                                                                                    |
| <type=LaunchDarklyAPIKey>       | api_token [*required*]             | string   | The `LaunchDarklyAPIKey` `api_token`.                                                                                                                                                                                                                                                                                                                                                 |
| <type=LaunchDarklyAPIKey>       | type [*required*]                  | enum     | The definition of the `LaunchDarklyAPIKey` object. Allowed enum values: `LaunchDarklyAPIKey`.                                                                                                                                                                                                                                                                                         |
| <type=LaunchDarkly>             | type [*required*]                  | enum     | The definition of the `LaunchDarklyIntegrationType` object. Allowed enum values: `LaunchDarkly`.                                                                                                                                                                                                                                                                                      |
| integration                     | <type=Notion>                      | object   | The definition of the `NotionIntegration` object.                                                                                                                                                                                                                                                                                                                                     |
| <type=Notion>                   | credentials [*required*]           | <oneOf>  | The definition of the `NotionCredentials` object.                                                                                                                                                                                                                                                                                                                                     |
| credentials                     | <type=NotionAPIKey>                | object   | The definition of the `NotionAPIKey` object.                                                                                                                                                                                                                                                                                                                                          |
| <type=NotionAPIKey>             | api_token [*required*]             | string   | The `NotionAPIKey` `api_token`.                                                                                                                                                                                                                                                                                                                                                       |
| <type=NotionAPIKey>             | type [*required*]                  | enum     | The definition of the `NotionAPIKey` object. Allowed enum values: `NotionAPIKey`.                                                                                                                                                                                                                                                                                                     |
| <type=Notion>                   | type [*required*]                  | enum     | The definition of the `NotionIntegrationType` object. Allowed enum values: `Notion`.                                                                                                                                                                                                                                                                                                  |
| integration                     | <type=Okta>                        | object   | The definition of the `OktaIntegration` object.                                                                                                                                                                                                                                                                                                                                       |
| <type=Okta>                     | credentials [*required*]           | <oneOf>  | The definition of the `OktaCredentials` object.                                                                                                                                                                                                                                                                                                                                       |
| credentials                     | <type=OktaAPIToken>                | object   | The definition of the `OktaAPIToken` object.                                                                                                                                                                                                                                                                                                                                          |
| <type=OktaAPIToken>             | api_token [*required*]             | string   | The `OktaAPIToken` `api_token`.                                                                                                                                                                                                                                                                                                                                                       |
| <type=OktaAPIToken>             | domain [*required*]                | string   | The `OktaAPIToken` `domain`.                                                                                                                                                                                                                                                                                                                                                          |
| <type=OktaAPIToken>             | type [*required*]                  | enum     | The definition of the `OktaAPIToken` object. Allowed enum values: `OktaAPIToken`.                                                                                                                                                                                                                                                                                                     |
| <type=Okta>                     | type [*required*]                  | enum     | The definition of the `OktaIntegrationType` object. Allowed enum values: `Okta`.                                                                                                                                                                                                                                                                                                      |
| integration                     | <type=OpenAI>                      | object   | The definition of the `OpenAIIntegration` object.                                                                                                                                                                                                                                                                                                                                     |
| <type=OpenAI>                   | credentials [*required*]           | <oneOf>  | The definition of the `OpenAICredentials` object.                                                                                                                                                                                                                                                                                                                                     |
| credentials                     | <type=OpenAIAPIKey>                | object   | The definition of the `OpenAIAPIKey` object.                                                                                                                                                                                                                                                                                                                                          |
| <type=OpenAIAPIKey>             | api_token [*required*]             | string   | The `OpenAIAPIKey` `api_token`.                                                                                                                                                                                                                                                                                                                                                       |
| <type=OpenAIAPIKey>             | type [*required*]                  | enum     | The definition of the `OpenAIAPIKey` object. Allowed enum values: `OpenAIAPIKey`.                                                                                                                                                                                                                                                                                                     |
| <type=OpenAI>                   | type [*required*]                  | enum     | The definition of the `OpenAIIntegrationType` object. Allowed enum values: `OpenAI`.                                                                                                                                                                                                                                                                                                  |
| integration                     | <type=ServiceNow>                  | object   | The definition of the `ServiceNowIntegration` object.                                                                                                                                                                                                                                                                                                                                 |
| <type=ServiceNow>               | credentials [*required*]           | <oneOf>  | The definition of the `ServiceNowCredentials` object.                                                                                                                                                                                                                                                                                                                                 |
| credentials                     | <type=ServiceNowBasicAuth>         | object   | The definition of the `ServiceNowBasicAuth` object.                                                                                                                                                                                                                                                                                                                                   |
| <type=ServiceNowBasicAuth>      | instance [*required*]              | string   | The `ServiceNowBasicAuth` `instance`.                                                                                                                                                                                                                                                                                                                                                 |
| <type=ServiceNowBasicAuth>      | password [*required*]              | string   | The `ServiceNowBasicAuth` `password`.                                                                                                                                                                                                                                                                                                                                                 |
| <type=ServiceNowBasicAuth>      | type [*required*]                  | enum     | The definition of the `ServiceNowBasicAuth` object. Allowed enum values: `ServiceNowBasicAuth`.                                                                                                                                                                                                                                                                                       |
| <type=ServiceNowBasicAuth>      | username [*required*]              | string   | The `ServiceNowBasicAuth` `username`.                                                                                                                                                                                                                                                                                                                                                 |
| <type=ServiceNow>               | type [*required*]                  | enum     | The definition of the `ServiceNowIntegrationType` object. Allowed enum values: `ServiceNow`.                                                                                                                                                                                                                                                                                          |
| integration                     | <type=Split>                       | object   | The definition of the `SplitIntegration` object.                                                                                                                                                                                                                                                                                                                                      |
| <type=Split>                    | credentials [*required*]           | <oneOf>  | The definition of the `SplitCredentials` object.                                                                                                                                                                                                                                                                                                                                      |
| credentials                     | <type=SplitAPIKey>                 | object   | The definition of the `SplitAPIKey` object.                                                                                                                                                                                                                                                                                                                                           |
| <type=SplitAPIKey>              | api_key [*required*]               | string   | The `SplitAPIKey` `api_key`.                                                                                                                                                                                                                                                                                                                                                          |
| <type=SplitAPIKey>              | type [*required*]                  | enum     | The definition of the `SplitAPIKey` object. Allowed enum values: `SplitAPIKey`.                                                                                                                                                                                                                                                                                                       |
| <type=Split>                    | type [*required*]                  | enum     | The definition of the `SplitIntegrationType` object. Allowed enum values: `Split`.                                                                                                                                                                                                                                                                                                    |
| integration                     | <type=Statsig>                     | object   | The definition of the `StatsigIntegration` object.                                                                                                                                                                                                                                                                                                                                    |
| <type=Statsig>                  | credentials [*required*]           | <oneOf>  | The definition of the `StatsigCredentials` object.                                                                                                                                                                                                                                                                                                                                    |
| credentials                     | <type=StatsigAPIKey>               | object   | The definition of the `StatsigAPIKey` object.                                                                                                                                                                                                                                                                                                                                         |
| <type=StatsigAPIKey>            | api_key [*required*]               | string   | The `StatsigAPIKey` `api_key`.                                                                                                                                                                                                                                                                                                                                                        |
| <type=StatsigAPIKey>            | type [*required*]                  | enum     | The definition of the `StatsigAPIKey` object. Allowed enum values: `StatsigAPIKey`.                                                                                                                                                                                                                                                                                                   |
| <type=Statsig>                  | type [*required*]                  | enum     | The definition of the `StatsigIntegrationType` object. Allowed enum values: `Statsig`.                                                                                                                                                                                                                                                                                                |
| integration                     | <type=VirusTotal>                  | object   | The definition of the `VirusTotalIntegration` object.                                                                                                                                                                                                                                                                                                                                 |
| <type=VirusTotal>               | credentials [*required*]           | <oneOf>  | The definition of the `VirusTotalCredentials` object.                                                                                                                                                                                                                                                                                                                                 |
| credentials                     | <type=VirusTotalAPIKey>            | object   | The definition of the `VirusTotalAPIKey` object.                                                                                                                                                                                                                                                                                                                                      |
| <type=VirusTotalAPIKey>         | api_key [*required*]               | string   | The `VirusTotalAPIKey` `api_key`.                                                                                                                                                                                                                                                                                                                                                     |
| <type=VirusTotalAPIKey>         | type [*required*]                  | enum     | The definition of the `VirusTotalAPIKey` object. Allowed enum values: `VirusTotalAPIKey`.                                                                                                                                                                                                                                                                                             |
| <type=VirusTotal>               | type [*required*]                  | enum     | The definition of the `VirusTotalIntegrationType` object. Allowed enum values: `VirusTotal`.                                                                                                                                                                                                                                                                                          |
| attributes                      | name [*required*]                  | string   | Name of the connection                                                                                                                                                                                                                                                                                                                                                                |
| attributes                      | tags                               | [string] | Tags associated with the connection. Each tag must follow the `key:value` format. The `default` tag key is reserved.                                                                                                                                                                                                                                                                  |
| data                            | id                                 | string   | The connection identifier Read-only.                                                                                                                                                                                                                                                                                                                                                  |
| data                            | type [*required*]                  | enum     | The definition of `ActionConnectionDataType` object. Allowed enum values: `action_connection`.                                                                                                                                                                                                                                                                                        |
{% /tab %}

{% tab label="Example" %}
```json
{
  "data": {
    "attributes": {
      "integration": {
        "credentials": {
          "account_id": "111222333444",
          "external_id": "33a1011635c44b38a064cf14e82e1d8f",
          "principal_id": "123456789012",
          "role": "my-role",
          "type": "AWSAssumeRole"
        },
        "type": "AWS"
      },
      "name": "My AWS Connection",
      "tags": [
        "env:prod",
        "team:action-platform"
      ]
    },
    "id": "string",
    "type": "action_connection"
  }
}
```
{% /tab %}
{% /tabs %}
{% /tab %}

{% tab label="400" %}
Bad Request

{% tabs %}
{% tab label="Model" %}
API error response.

| Parent field | Field               | Type     | Description                                                                     |
| ------------ | ------------------- | -------- | ------------------------------------------------------------------------------- |
|              | errors [*required*] | [object] | A list of errors.                                                               |
| errors       | detail              | string   | A human-readable explanation specific to this occurrence of the error.          |
| errors       | meta                | object   | Non-standard meta-information about the error                                   |
| errors       | source              | object   | References to the source of the error.                                          |
| source       | header              | string   | A string indicating the name of a single request header which caused the error. |
| source       | parameter           | string   | A string indicating which URI query parameter caused the error.                 |
| source       | pointer             | string   | A JSON pointer to the value in the request document that caused the error.      |
| errors       | status              | string   | Status code of the response.                                                    |
| errors       | title               | string   | Short human-readable summary of the error.                                      |
{% /tab %}

{% tab label="Example" %}
```json
{
  "errors": [
    {
      "detail": "Missing required attribute in body",
      "meta": {},
      "source": {
        "header": "Authorization",
        "parameter": "limit",
        "pointer": "/data/attributes/title"
      },
      "status": "400",
      "title": "Bad Request"
    }
  ]
}
```
{% /tab %}
{% /tabs %}
{% /tab %}

{% tab label="403" %}
Forbidden

{% tabs %}
{% tab label="Model" %}
API error response.

| Parent field | Field               | Type     | Description                                                                     |
| ------------ | ------------------- | -------- | ------------------------------------------------------------------------------- |
|              | errors [*required*] | [object] | A list of errors.                                                               |
| errors       | detail              | string   | A human-readable explanation specific to this occurrence of the error.          |
| errors       | meta                | object   | Non-standard meta-information about the error                                   |
| errors       | source              | object   | References to the source of the error.                                          |
| source       | header              | string   | A string indicating the name of a single request header which caused the error. |
| source       | parameter           | string   | A string indicating which URI query parameter caused the error.                 |
| source       | pointer             | string   | A JSON pointer to the value in the request document that caused the error.      |
| errors       | status              | string   | Status code of the response.                                                    |
| errors       | title               | string   | Short human-readable summary of the error.                                      |
{% /tab %}

{% tab label="Example" %}
```json
{
  "errors": [
    {
      "detail": "Missing required attribute in body",
      "meta": {},
      "source": {
        "header": "Authorization",
        "parameter": "limit",
        "pointer": "/data/attributes/title"
      },
      "status": "400",
      "title": "Bad Request"
    }
  ]
}
```
{% /tab %}
{% /tabs %}
{% /tab %}

{% tab label="404" %}
Not Found

{% tabs %}
{% tab label="Model" %}
API error response.

| Parent field | Field               | Type     | Description                                                                     |
| ------------ | ------------------- | -------- | ------------------------------------------------------------------------------- |
|              | errors [*required*] | [object] | A list of errors.                                                               |
| errors       | detail              | string   | A human-readable explanation specific to this occurrence of the error.          |
| errors       | meta                | object   | Non-standard meta-information about the error                                   |
| errors       | source              | object   | References to the source of the error.                                          |
| source       | header              | string   | A string indicating the name of a single request header which caused the error. |
| source       | parameter           | string   | A string indicating which URI query parameter caused the error.                 |
| source       | pointer             | string   | A JSON pointer to the value in the request document that caused the error.      |
| errors       | status              | string   | Status code of the response.                                                    |
| errors       | title               | string   | Short human-readable summary of the error.                                      |
{% /tab %}

{% tab label="Example" %}
```json
{
  "errors": [
    {
      "detail": "Missing required attribute in body",
      "meta": {},
      "source": {
        "header": "Authorization",
        "parameter": "limit",
        "pointer": "/data/attributes/title"
      },
      "status": "400",
      "title": "Bad Request"
    }
  ]
}
```
{% /tab %}
{% /tabs %}
{% /tab %}

{% tab label="429" %}
Too Many Request

{% tabs %}
{% tab label="Model" %}
API error response.

| Parent field | Field               | Type     | Description                                                                     |
| ------------ | ------------------- | -------- | ------------------------------------------------------------------------------- |
|              | errors [*required*] | [object] | A list of errors.                                                               |
| errors       | detail              | string   | A human-readable explanation specific to this occurrence of the error.          |
| errors       | meta                | object   | Non-standard meta-information about the error                                   |
| errors       | source              | object   | References to the source of the error.                                          |
| source       | header              | string   | A string indicating the name of a single request header which caused the error. |
| source       | parameter           | string   | A string indicating which URI query parameter caused the error.                 |
| source       | pointer             | string   | A JSON pointer to the value in the request document that caused the error.      |
| errors       | status              | string   | Status code of the response.                                                    |
| errors       | title               | string   | Short human-readable summary of the error.                                      |
{% /tab %}

{% tab label="Example" %}
```json
{
  "errors": [
    {
      "detail": "Missing required attribute in body",
      "meta": {},
      "source": {
        "header": "Authorization",
        "parameter": "limit",
        "pointer": "/data/attributes/title"
      },
      "status": "400",
      "title": "Bad Request"
    }
  ]
}
```
{% /tab %}
{% /tabs %}
{% /tab %}
{% /tabs %}

### Code Example

{% tabs %}
{% tab label="Curl" %}
```bash
# Path parameters
export connection_id="CHANGE_ME"

# Set your Datadog site and credentials
export DD_SITE="datadoghq.com" # Or us3.datadoghq.com, us5.datadoghq.com, datadoghq.eu, ap1.datadoghq.com, ap2.datadoghq.com, uk1.datadoghq.com, ddog-gov.com, us2.ddog-gov.com
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/actions/connections/${connection_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "type": "action_connection",
    "attributes": {
      "name": "Cassette Connection",
      "integration": {
        "type": "AWS",
        "credentials": {
          "type": "AWSAssumeRole",
          "role": "MyRoleUpdated",
          "account_id": "123456789123"
        }
      }
    }
  }
}
EOF
```
{% /tab %}

{% tab label="Go" %}
```go
// Update an existing Action Connection returns "Successfully updated Action Connection" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	body := datadogV2.UpdateActionConnectionRequest{
		Data: datadogV2.ActionConnectionDataUpdate{
			Type: datadogV2.ACTIONCONNECTIONDATATYPE_ACTION_CONNECTION,
			Attributes: datadogV2.ActionConnectionAttributesUpdate{
				Name: datadog.PtrString("Cassette Connection"),
				Integration: &datadogV2.ActionConnectionIntegrationUpdate{
					AWSIntegrationUpdate: &datadogV2.AWSIntegrationUpdate{
						Type: datadogV2.AWSINTEGRATIONTYPE_AWS,
						Credentials: &datadogV2.AWSCredentialsUpdate{
							AWSAssumeRoleUpdate: &datadogV2.AWSAssumeRoleUpdate{
								Type:      datadogV2.AWSASSUMEROLETYPE_AWSASSUMEROLE,
								Role:      datadog.PtrString("MyRoleUpdated"),
								AccountId: datadog.PtrString("123456789123"),
							}},
					}},
			},
		},
	}
	ctx := datadog.NewDefaultContext(context.Background())
	ctx = context.WithValue(ctx, datadog.ContextAccessToken, os.Getenv("DD_BEARER_TOKEN"))
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewActionConnectionApi(apiClient)
	resp, r, err := api.UpdateActionConnection(ctx, "cb460d51-3c88-4e87-adac-d47131d0423d", body)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `ActionConnectionApi.UpdateActionConnection`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `ActionConnectionApi.UpdateActionConnection`:\n%s\n", responseContent)
}
```

#### Instructions

First [install the library and its dependencies](https://dnd37xeb23o8n.cloudfront.net/api/latest.md?code-lang=go) and then save the example to `main.go` and run following commands:

```bash
DD_SITE="datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" go run "main.go"
```
{% /tab %}

{% tab label="Java" %}
```java
// Update an existing Action Connection returns "Successfully updated Action Connection" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.ActionConnectionApi;
import com.datadog.api.client.v2.model.AWSAssumeRoleType;
import com.datadog.api.client.v2.model.AWSAssumeRoleUpdate;
import com.datadog.api.client.v2.model.AWSCredentialsUpdate;
import com.datadog.api.client.v2.model.AWSIntegrationType;
import com.datadog.api.client.v2.model.AWSIntegrationUpdate;
import com.datadog.api.client.v2.model.ActionConnectionAttributesUpdate;
import com.datadog.api.client.v2.model.ActionConnectionDataType;
import com.datadog.api.client.v2.model.ActionConnectionDataUpdate;
import com.datadog.api.client.v2.model.ActionConnectionIntegrationUpdate;
import com.datadog.api.client.v2.model.UpdateActionConnectionRequest;
import com.datadog.api.client.v2.model.UpdateActionConnectionResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN"));
    ActionConnectionApi apiInstance = new ActionConnectionApi(defaultClient);

    UpdateActionConnectionRequest body =
        new UpdateActionConnectionRequest()
            .data(
                new ActionConnectionDataUpdate()
                    .type(ActionConnectionDataType.ACTION_CONNECTION)
                    .attributes(
                        new ActionConnectionAttributesUpdate()
                            .name("Cassette Connection")
                            .integration(
                                new ActionConnectionIntegrationUpdate(
                                    new AWSIntegrationUpdate()
                                        .type(AWSIntegrationType.AWS)
                                        .credentials(
                                            new AWSCredentialsUpdate(
                                                new AWSAssumeRoleUpdate()
                                                    .type(AWSAssumeRoleType.AWSASSUMEROLE)
                                                    .role("MyRoleUpdated")
                                                    .accountId("123456789123")))))));

    try {
      UpdateActionConnectionResponse result =
          apiInstance.updateActionConnection("cb460d51-3c88-4e87-adac-d47131d0423d", body);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling ActionConnectionApi#updateActionConnection");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}
```

#### Instructions

First [install the library and its dependencies](https://dnd37xeb23o8n.cloudfront.net/api/latest.md?code-lang=java) and then save the example to `Example.java` and run following commands:

```bash
DD_SITE="datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" java "Example.java"
```
{% /tab %}

{% tab label="Python" %}
```python
"""
Update an existing Action Connection returns "Successfully updated Action Connection" response
"""

from os import environ
from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.action_connection_api import ActionConnectionApi
from datadog_api_client.v2.model.action_connection_attributes_update import ActionConnectionAttributesUpdate
from datadog_api_client.v2.model.action_connection_data_type import ActionConnectionDataType
from datadog_api_client.v2.model.action_connection_data_update import ActionConnectionDataUpdate
from datadog_api_client.v2.model.aws_assume_role_type import AWSAssumeRoleType
from datadog_api_client.v2.model.aws_assume_role_update import AWSAssumeRoleUpdate
from datadog_api_client.v2.model.aws_integration_type import AWSIntegrationType
from datadog_api_client.v2.model.aws_integration_update import AWSIntegrationUpdate
from datadog_api_client.v2.model.update_action_connection_request import UpdateActionConnectionRequest

body = UpdateActionConnectionRequest(
    data=ActionConnectionDataUpdate(
        type=ActionConnectionDataType.ACTION_CONNECTION,
        attributes=ActionConnectionAttributesUpdate(
            name="Cassette Connection",
            integration=AWSIntegrationUpdate(
                type=AWSIntegrationType.AWS,
                credentials=AWSAssumeRoleUpdate(
                    type=AWSAssumeRoleType.AWSASSUMEROLE,
                    role="MyRoleUpdated",
                    account_id="123456789123",
                ),
            ),
        ),
    ),
)

configuration = Configuration()
configuration.access_token = environ["DD_BEARER_TOKEN"]
with ApiClient(configuration) as api_client:
    api_instance = ActionConnectionApi(api_client)
    response = api_instance.update_action_connection(connection_id="cb460d51-3c88-4e87-adac-d47131d0423d", body=body)

    print(response)
```

#### Instructions

First [install the library and its dependencies](https://dnd37xeb23o8n.cloudfront.net/api/latest.md?code-lang=python) and then save the example to `example.py` and run following commands:

```bash
DD_SITE="datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" python3 "example.py"
```
{% /tab %}

{% tab label="Ruby" %}
```ruby
# Update an existing Action Connection returns "Successfully updated Action Connection" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
  config.access_token = ENV["DD_BEARER_TOKEN"]
end
api_instance = DatadogAPIClient::V2::ActionConnectionAPI.new

body = DatadogAPIClient::V2::UpdateActionConnectionRequest.new({
  data: DatadogAPIClient::V2::ActionConnectionDataUpdate.new({
    type: DatadogAPIClient::V2::ActionConnectionDataType::ACTION_CONNECTION,
    attributes: DatadogAPIClient::V2::ActionConnectionAttributesUpdate.new({
      name: "Cassette Connection",
      integration: DatadogAPIClient::V2::AWSIntegrationUpdate.new({
        type: DatadogAPIClient::V2::AWSIntegrationType::AWS,
        credentials: DatadogAPIClient::V2::AWSAssumeRoleUpdate.new({
          type: DatadogAPIClient::V2::AWSAssumeRoleType::AWSASSUMEROLE,
          role: "MyRoleUpdated",
          account_id: "123456789123",
        }),
      }),
    }),
  }),
})
p api_instance.update_action_connection("cb460d51-3c88-4e87-adac-d47131d0423d", body)
```

#### Instructions

First [install the library and its dependencies](https://dnd37xeb23o8n.cloudfront.net/api/latest.md?code-lang=ruby) and then save the example to `example.rb` and run following commands:

```bash
DD_SITE="datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" rb "example.rb"
```
{% /tab %}

{% tab label="Rust" %}
```rust
// Update an existing Action Connection returns "Successfully updated Action
// Connection" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_action_connection::ActionConnectionAPI;
use datadog_api_client::datadogV2::model::AWSAssumeRoleType;
use datadog_api_client::datadogV2::model::AWSAssumeRoleUpdate;
use datadog_api_client::datadogV2::model::AWSCredentialsUpdate;
use datadog_api_client::datadogV2::model::AWSIntegrationType;
use datadog_api_client::datadogV2::model::AWSIntegrationUpdate;
use datadog_api_client::datadogV2::model::ActionConnectionAttributesUpdate;
use datadog_api_client::datadogV2::model::ActionConnectionDataType;
use datadog_api_client::datadogV2::model::ActionConnectionDataUpdate;
use datadog_api_client::datadogV2::model::ActionConnectionIntegrationUpdate;
use datadog_api_client::datadogV2::model::UpdateActionConnectionRequest;

#[tokio::main]
async fn main() {
    let body = UpdateActionConnectionRequest::new(ActionConnectionDataUpdate::new(
        ActionConnectionAttributesUpdate::new()
            .integration(ActionConnectionIntegrationUpdate::AWSIntegrationUpdate(
                Box::new(
                    AWSIntegrationUpdate::new(AWSIntegrationType::AWS).credentials(
                        AWSCredentialsUpdate::AWSAssumeRoleUpdate(Box::new(
                            AWSAssumeRoleUpdate::new(AWSAssumeRoleType::AWSASSUMEROLE)
                                .account_id("123456789123".to_string())
                                .role("MyRoleUpdated".to_string()),
                        )),
                    ),
                ),
            ))
            .name("Cassette Connection".to_string()),
        ActionConnectionDataType::ACTION_CONNECTION,
    ));
    let configuration = datadog::Configuration::new();
    let api = ActionConnectionAPI::with_config(configuration);
    let resp = api
        .update_action_connection("cb460d51-3c88-4e87-adac-d47131d0423d".to_string(), body)
        .await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}
```

#### Instructions

First [install the library and its dependencies](https://dnd37xeb23o8n.cloudfront.net/api/latest.md?code-lang=rust) and then save the example to `src/main.rs` and run following commands:

```bash
DD_SITE="datadoghq.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run
```
{% /tab %}

{% tab label="TypeScript" %}
```typescript
/**
 * Update an existing Action Connection returns "Successfully updated Action Connection" response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration({
  authMethods: {
    AuthZ: {
      accessToken: process.env.DD_BEARER_TOKEN as string,
    },
  },
});
const apiInstance = new v2.ActionConnectionApi(configuration);

const params: v2.ActionConnectionApiUpdateActionConnectionRequest = {
  body: {
    data: {
      type: "action_connection",
      attributes: {
        name: "Cassette Connection",
        integration: {
          type: "AWS",
          credentials: {
            type: "AWSAssumeRole",
            role: "MyRoleUpdated",
            accountId: "123456789123",
          },
        },
      },
    },
  },
  connectionId: "cb460d51-3c88-4e87-adac-d47131d0423d",
};

apiInstance
  .updateActionConnection(params)
  .then((data: v2.UpdateActionConnectionResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));
```

#### Instructions

First [install the library and its dependencies](https://dnd37xeb23o8n.cloudfront.net/api/latest.md?code-lang=typescript) and then save the example to `example.ts` and run following commands:

```bash
DD_SITE="datadoghq.com" DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" tsc "example.ts"
```
{% /tab %}
{% /tabs %}
