---
title: "Resync a Connection"
method: POST
path: "/connection/{connection_id}/resync"
tags: ["Connections"]
---

# Resync a Connection

`POST /connection/{connection_id}/resync`

Use this endpoint to resync dimensions from a source connection.

## Path parameters

- `connection_id` string, uuid, required

## Query parameters

- `end_time_dimension_id` integer
- `start_time_dimension_id` integer

## Headers

- `X-Company-ID` string, required

## Request body

- ResyncRequest
  - `start_time_dimension_id` integer — The time dimension ID for the beginning of the date range to sync (for supported Integrations).
  - `end_time_dimension_id` integer — The time dimension ID for the end of the date range to sync (for supported Integrations).

## Response `200`

- ResyncResponse
  - `num_unmapped` integer, required
  - `audit_log_event_id` string, uuid, required
  - `auth_redirect_url` string, uri, required

---

[API](https://skmtc.net/cubesoftware/apis/cube-api.md) · [All operations](https://skmtc.net/cubesoftware/apis/cube-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cubesoftware/cube-api/revisions/67d9f45bb99b/schema)
