albums

Remove assets from an album

Changed on

Detaches one or more assets from the given album. The assets themselves remain in the library and in any other albums they belong to. Use trash_assets to soft-delete the asset entirely. To empty an album completely, call list_album_assets to get the links and then remove them, or delete the album itself with delete_album.

delete/api/albums/{album_id}/assets

Request

  • Base URL
    https://api.gumnut.ai
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

album_idstring required

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

Request body

asset_idsstring[] required

Asset IDs (with asset_ prefix) to associate with the album. Up to 200 ids per request.

Response

Successful Response

DeletionResponse required

Empty acknowledgment returned when an operation succeeds.

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      response property detail list-of-types was widened by adding types string to media type application/json of response 422

    • info

      the response property became required for the status