Collections

Unpublish a collection's public page

DELETE
/v2/asset_management/{cloud_name}/collections/{collection_id}/public_pages/{public_page_id}

Deletes a collection's public page so it's no longer shareable. The collection and its assets aren't changed or deleted.

Authorization

AuthorizationBasic <token>

Basic authentication using Cloudinary API Key and API Secret.

In: header

Path Parameters

cloud_name*string

The cloud name of your Cloudinary product environment.

collection_id*string

External ID of the collection the public page belongs to.

public_page_id*string

External ID of the public page.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v2/asset_management/demo/collections/col_8f3a2b1c9d4e/public_pages/pub_2c4d6e8f0a1b"
{  "message": "Public page deleted successfully."}