# Creates or updates a Datadog MCP integration application key **PUT** `/v1/integrations/datadog-mcp/{id}/app-key` **Operation ID**: `upsertAppKey` **Summary**: Creates or updates a Datadog MCP integration application key Creates the DD-APPLICATION-KEY for a Datadog MCP integration if it doesn't exist and updates it otherwise. ## Tags - Datadog MCP Integration ## Parameters - **id** (required) - path - Type: string ## Request Body **Content-Type**: `application/json` **Schema**: `SecretApi` ## Responses ### 204 Application key upserted successfully. ### 401 Unauthorized ### 404 Integration not found.