Collection Endpoints

Set collection visibility

Changed on

Hide or unhide a collection. Only the collection owner can change visibility. A collection whose minted tokens are held by more than one wallet cannot be hidden; the request fails with 400 and says so.

patch/api/v2/collections/{slug}/visibility

Request

Path parameters

slugstring required

Collection slug

Request body

hiddenboolean required

Whether the collection should be hidden

Response

Visibility updated successfully

successboolean required

Whether the visibility update succeeded

Changes

    • info

      added the media type */* for the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status