# Creates or updates the endpoint for the SumoLogic integration **PUT** `/v1/integrations/sumo/{id}/endpoint` **Operation ID**: `upsertSumoEndpoint` **Summary**: Creates or updates the endpoint for the SumoLogic integration Sets the endpoint for a SumoLogic integration if it doesn't exist and updates it otherwise. If the key is updated while the integration is being used by a pipeline, the new key will be picked at pipeline restart, rescaling or an update. Ingestion supports the previous and the updated key for up to 24 hours of a key update. Make sure to change the key used by the agents to send data within 24 hours of an update for a seamless transition ## Tags - Sumo Logic Integration ## Parameters - **id** (required) - path - Type: string ## Request Body **Content-Type**: `application/json` **Schema**: `SecretApi` ## Responses ### 204 Api key upserted successfully. ### 401 Unauthorized ### 404 Integration not found.