# Activate archived locations

```http
POST https://api.synup.com/api/v4/locations/activate
```

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.
:::

Source: https://developer.synup.com/api/locations/activate-archived-locations

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Content-Type` | string | required |  |

## Request body

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `input` | object | optional |  |
| `input.locationIds` | array of string | required | Array of location Node IDs to activate |

## Example request

```bash
curl -X POST 'https://api.synup.com/api/v4/locations/activate' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "input": {
    "locationIds": [
      "TG9jYXRpb246MTE3MTM4OQ=="
    ]
  }
}'
```

## Responses

| Status | Description |
| --- | --- |
| `200` | Locations activated successfully |
| `400` | Bad request - invalid input |
| `401` | Unauthorized - invalid or missing API key |
| `403` | Forbidden - insufficient permissions |
