---
title: "Resync Application Authorization"
method: POST
path: "/api/platform/applications/{application_id}/resync"
tags: ["platform"]
---

# Resync Application Authorization

`POST /api/platform/applications/{application_id}/resync`

Re-apply an application's authorization tuples through the service.

Re-applies every role bundle's catalog tuples and backfills the per-scope
``module_instance`` plumbing for the full catalog module set on every
installed scope. The transactional write path on registration /
operator-edit / boot-seed already self-heals catalog edges; this endpoint
exists so an operator can force a re-apply on demand when something has
drifted (manual FGA tampering, schema migration, a module added before the
DOCK-259 fan-out fix) without waiting for the next write or a re-install.

## Path parameters

- `application_id` string, required

## Response `200`

Successful Response

- ResyncApplicationResponse
  - `applicationId` string, required
  - `bundles` ResyncBundleEntry[]
    - `slug` string, required
    - `source` string, required
    - `writesApplied` integer, required
    - `deletesApplied` integer, required
    - `error` string, nullable
  - `instances` ResyncInstanceSummary — Phase-2 scoped role_bundle_instance backfill outcome (per /resync).
    - `scopes` integer
    - `writesApplied` integer
    - `failed` boolean
    - `errors` string[]
  - `moduleInstances` ResyncModuleInstanceSummary — module_instance structural backfill outcome (per /resync). Writes any missing per-scope ``module_instance`` plumbing for the app's full catalog module set on every installed scope, so an instance-level data grant propagates to every module without a manual re-install (DOCK-259).
    - `scopes` integer
    - `mirroredAccounts` integer
    - `writesApplied` integer
    - `errors` string[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/gocrisp/apis/crisp-app-dock.md) · [All operations](https://skmtc.dev/gocrisp/apis/crisp-app-dock/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gocrisp/crisp-app-dock/revisions/e56bd3c1a9db/schema)
