---
title: "Reactivate recipe deployment according to the actual recipe version."
method: POST
path: "/recipe-deployments/{recipe_deployment_id}/sync"
tags: ["recipe deployments"]
---

# Reactivate recipe deployment according to the actual recipe version.

`POST /recipe-deployments/{recipe_deployment_id}/sync`

You have to be a member with appropriate permission to access this resource.
- `workspaces.flow.edit` permission in the `workspace` scope allows to delete deployment from workspace
- `global.recipe_deployment.sync` permission in the `tenant` scope allows to sync all
recipe deployments in the user tenant
- `global.recipe_deployment.sync` permission in the `global` scope allows to sync all
recipe deployments in all tenants

## Path parameters

- `recipe_deployment_id` string, required

## Response `201`

Created

- object
  - `data` object, required
    - `relationships` object, required
      - `flow` object
        - `data` object[], required
          - `type` 'flow', required
          - `id` string, required
      - `recipe_deployment` object, required
        - `data` object, required
          - `type` 'recipe-deployment', required
          - `id` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2.md) · [All operations](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/elastic-io-rest-api-documentation-v2/revisions/411f9f98c01e/schema)
