Web Integrations

Update a web integration account

Update an existing account for a given web integration.

patch/api/v2/web-integrations/{integration_name}/accounts/{account_id}

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/web-integrations/{integration_name}/accounts/{account_id}
  • Auth
    API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY

Path parameters

integration_namestring required

The name of the integration (for example, databricks).

account_idstring required

The unique identifier of the web integration account.

Request body

Example request

{
  "data": {
    "attributes": {
      "name": "my-databricks-account",
      "secrets": {
        "client_secret": "my-client-secret"
      },
      "settings": {
        "workspace_url": "https://example.azuredatabricks.net"
      }
    },
    "type": "Account"
  }
}

Response

OK

Example response

{
  "data": {
    "attributes": {
      "name": "my-databricks-account",
      "settings": {
        "workspace_url": "https://example.azuredatabricks.net"
      }
    },
    "id": "abc123def456",
    "type": "Account"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.