---
title: "POST /folder-sync"
method: POST
path: "/folder-sync"
tags: ["Folders"]
---

# POST /folder-sync

`POST /folder-sync`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/folder-sync`
- Auth: none declared

## Request body

- FolderSync
  - `accessibility` string: for personal password manager
  - `delete-remote` boolean: Delete the secret from the remote target as well
  - `engine-name` string: Hashi Vault engine name prefix, must end with '/'
  - `json` boolean: Set output format to JSON
  - `name` string, required: Folder name
  - `namespace` string: Vault namespace, relevant only for Hashicorp Vault Target
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication
  - `usc-name` string: Universal Secret Connector name, If not provided all attached USC's will be synced

## Response `200`

- FolderSyncOutput
  - `folder_name` string

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/identity-access.md) - [All operations](https://skmtc.dev/akeyless/apis/identity-access/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/identity-access/revisions/6fbc3858ec88?raw)
