• PXM Catalogs/
    PXM Catalog Publish API/
    Delete a Published Catalog Release

    Delete a Published Catalog

    DELETE Delete a Published Catalog Release

    https://api.moltin.com/pcm/catalogs/:catalog_id/releases/:releaseId
    

    Deletes the specified published catalog release.

    Parameters

    Path parameters

    NameRequiredTypeDescription
    releaseIdRequiredstringThe unique identifier of the published catalog release that you want to delete. You can use latestPublished instead of releaseId to delete the latest published catalog release. Published catalogs are limited to the current release and two releases prior to the current release. If you delete the latest published catalog release, the last published release is restored.

    Headers

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

    Request Examples

    curl -X DELETE https://api.moltin.com/pcm/catalogs/6dbd8b80-1176-4f62-b3c0-b543bc5a5f6a/releases/1e6bc8ab-da6a-4498-a18c-c4f2f18b7b53 \
         -H "Authorization: Bearer XXXX" \
    
    curl -X DELETE https://api.moltin.com/pcm/catalogs/6dbd8b80-1176-4f62-b3c0-b543bc5a5f6a/releases/latest \
         -H "Authorization: Bearer XXXX" \
    

    Response Example

    204 No Content

    Was this helpful?

    Previous
    Publish a Catalog