Collection

Hide collection items

Hide one or more items from the collection. Items can be restored within 30 days.

patch/v1/collection/hide

Request

  • Base URL
    https://api.miaai.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://api.miaai.chat/v1/collection/hide
  • Auth
    HTTP bearer

Request body

idsstring[] required

Array of collection item (attachment) IDs

Example request

{
  "ids": [
    "uuid-1",
    "uuid-2"
  ]
}

Response

Items hidden successfully

affectednumber required

Number of items affected by the operation

Changes

No recorded changes to this operation across all 1 revision of this API.