Skip to main content
DELETE
/
api
/
albums
/
{album_id}
/
assets
Remove assets from an album (assets themselves are kept)
curl --request DELETE \
  --url https://api.example.com/api/albums/{album_id}/assets \
  --header 'Content-Type: application/json' \
  --data '
{
  "asset_ids": [
    "<string>"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.gumnut.ai/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

album_id
string
required

Album ID (with album_ prefix) of the album to detach assets from.

Body

application/json
asset_ids
string[]
required

Asset IDs (with asset_ prefix) to associate with the album. Get IDs from list_assets, search_assets, or list_album_assets.

Response

Successful Response