---
title: "Activate archived locations"
method: POST
path: "/locations/activate"
tags: ["Locations"]
---

# Activate archived locations

`POST /locations/activate`

## Request

- Base URL: `https://api.synup.com/api/v4`
- URL: `https://api.synup.com/api/v4/locations/activate`
- Auth: none required
- TypeScript: <https://skmtc.dev/synup/apis/synup-api/docs/locations/activate/post.ts> (a function with typed inputs; its response is checked against the schema)

Use this API to reactivate one or more previously archived locations, allowing them to be updated and managed again.

:::info[]
Important Notes:
- Activating a location restores its functionality, enabling updates and modifications.
- Only archived locations can be activated; active locations do not require this action.
- Reactivating a location may resume billing based on your subscription plan.
:::

## Headers

- `Authorization` string, required
- `Content-Type` string, required

## Request body

- object
  - `input` object
    - `locationIds` string[], required: Array of location Node IDs to activate

## Response `200`

Locations activated successfully

- object
  - `data` object
    - `activateLocations` object
      - `bulkEditTaskId` string, nullable: ID of bulk edit task if multiple locations are being activated
      - `clientMutationId` string, nullable
      - `errors` string[], nullable
      - `result` object[]
        - `errors` string[], nullable
        - `locationId` string: Node ID of the location
        - `status` 'ACTIVE': Final status of the activation operation
        - `success` boolean: Whether the operation was successful
      - `success` boolean, nullable

## Other responses

- `400`: Bad request - invalid input
- `401`: Unauthorized - invalid or missing API key
- `403`: Forbidden - insufficient permissions

---

[API](https://skmtc.dev/synup/apis/synup-api.md) - [All operations](https://skmtc.dev/synup/apis/synup-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synup/apis/synup-api/revisions/67de2d51c22e?raw)
