---
title: "Resync a Module"
method: POST
path: "/modules/{module}/actions/resync"
tags: ["modules"]
---

# Resync a Module

`POST /modules/{module}/actions/resync`

Trigger resync of the Module associated with the VCS repository.

## Path parameters

- `module` string, required

## Request body

- ModuleResyncRequest — Represents a request to resync the object.
  - `force` boolean — Force resync module. If not equal to "true", only versions that did not exist before will be synchronized.

## Response `204`

Success.

## Other responses

- `404` — Module not found or user unauthorized to perform action.
- `409` — Module not bound to the VCS repository or another sync in progress.
- `422` — Malformed request body (missing attributes, wrong types, etc.).
- `4XX` — Client error.
- `5XX` — Server error.

---

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