We use cookies to enhance your experience and measure how the site performs. Choose "Essential Only" to disable analytics. Read our Privacy Policy.

    Odeus Docs

    Update Integration

    Update an existing integration's properties

    Update Integration

    Update an existing integration's properties

    Using our API via a dedicated deployment? Just replace api.odeus.ai with your deployment's base URL: <deployment-url>/api/public

    Updates the properties of an existing integration. Only provide the fields you want to change.

    Required Scopes

    This endpoint requires the INTEGRATION_API scope.

    Path Parameters

    ParameterTypeRequiredDescription
    integrationIdstringYesUUID of the integration

    Request Body

    All fields are optional. Only include fields you want to update.

    ParameterTypeDescription
    namestringIntegration name (max 40 characters)
    descriptionstringIntegration description (max 90 characters)
    iconUrlstringURL to the integration icon
    colorstringHex color code for the integration

    Example

    const axios = require("axios");
    
    async function updateIntegration(integrationId) {
      const response = await axios.patch(
        `https://api.odeus.ai/integrations/v1/${integrationId}`,
        {
          name: "Updated Integration Name",
          description: "New description for the integration"
        },
        {
          headers: {
            Authorization: "Bearer YOUR_API_KEY",
            "Content-Type": "application/json"
          }
        }
      );
    
      console.log("Updated integration:", response.data.integration);
    }
    
    updateIntegration("550e8400-e29b-41d4-a716-446655440000");
    

    Response Format

    Success Response (200 OK)

    {
      integration: {
        id: string;
        name: string;
        description: string;
      };
    }
    

    Error Handling

    Status CodeDescription
    400Invalid request body or integration ID
    401Invalid or missing API key
    403No access to this integration
    404Integration not found
    429Rate limit exceeded

    Odeus intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.