• Integrations (Event Subscriptions/Notifications)/
    Integrations API/
    Delete an Integration

    Delete an Integration

    DELETE Delete by ID

    https://api.moltin.com/v2/integrations/:id
    

    Parameters

    Path parameters

    NameRequiredTypeDescription
    idRequiredstringThe ID for the integration to delete.

    Headers

    NameRequiredTypeDescription
    AuthorizationRequiredstringThe Bearer token required to get access to the API.

    Request Example

    Curl

    curl -X DELETE https://api.moltin.com/v2/integrations/:id \
         -H "Authorization: Bearer XXXX"
    

    JavaScript SDK

    const integrationId = "25617d3e-14a6-434c-bfab-3fda87517aaf";
    
    
    // Where `EPCC` is an authenticated client
    await EPCC.Integrations.Delete(integrationId);
    

    Response Example

    200 OK

    {
        "data": {
            "type": "integration",
            "id": "8cb9e689-ede7-4f6d-b61a-6aa970d572dd"
        }
    }
    

    Was this helpful?

    Previous
    Update an Integration