Composable Frontend 2.0 Learn more 

  • Commerce Cloud/
    Custom Data/
    Custom Data (Flows) API/
    Flows/
    Delete a Flow

    Delete a Flow

    DELETE Delete a Flow

    https://useast.api.elasticpath.com/v2/flows/:id
    

    Parameters

    Path parameters

    NameRequiredTypeDescription
    idRequiredstringThe ID for the field you are requesting to be deleted.

    Headers

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

    Request Examples

    Curl

    curl -X DELETE https://useast.api.elasticpath.com/v2/flows/:id \
        -H "Authorization: Bearer XXXX" \
        -H "Content-Type: application/json" \
    

    JavaScript SDK

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

    Response Example

    204 No Content

    Previous
    Update a Flow