---
title: "Archive multiple locations"
method: POST
path: "/v3/classifications/locations/bulk/archive"
tags: ["classifications"]
---

# Archive multiple locations

`POST /v3/classifications/locations/bulk/archive`

Archive multiple locations with one API request. In the response, the `archived` field for each object is set as `true`.

## Query parameters

- `ids` string, required — List of BILL-generated IDs of locations. Each value begins with `loc`. Set the IDs as comma-separated values.

## Headers

- `sessionId` string, nullable — API session ID generated with `/v3/login`
- `devKey` string, nullable — Developer key generated with your BILL developer account

## Response `200`

Archive multiple locations response

- ClassificationLocationBulkResponseDto — Response Dto for bulk classification location.
  - `locations` ClassificationLocationResponseDto[] — List of locations
    - `id` string — BILL-generated ID of the location. The value begins with `loc`.
    - `name` string — Location name
    - `shortName` string — Location short name
    - `description` string — Location description
    - `parentId` string — BILL-generated ID of the parent location. You can set this field if this location is a child object.
    - `archived` boolean — Set as `true` if the location is archived
    - `createdTime` string, date-time
    - `updatedTime` string, date-time — Updated date and time

## Other responses

- `4XX` — List of errors.
- `5XX` — List of errors.

---

[API](https://skmtc.net/bill/apis/bill-v3-api.md) · [All operations](https://skmtc.net/bill/apis/bill-v3-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bill/bill-v3-api/versions/0483350c434e/schema)
