Skip to main content

Bulk Archive FIFO Layers

PUT 

/api/v2/fifo-layers/archive

Archives multiple FIFO layers. Only fully utilized layers (available_quantity = 0) can be archived. Use apply_to_all with filters to archive all matching layers.

Authentication: Requires Bearer token.

Request Body:

  • ids (required_without:apply_to_all, array): Array of FIFO layer IDs
  • apply_to_all (nullable, boolean): If true, archive all layers matching filters
  • filters (nullable, array): Filter criteria when using apply_to_all

Request

Responses

Successful response