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

# POST /folder-delete-sync

`POST /folder-delete-sync`

## Request

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

## Request body

- FolderDeleteSync
  - `accessibility` string: for personal password manager
  - `delete-from-usc` boolean: Delete the secrets from the remote target usc as well
  - `json` boolean: Set output format to JSON
  - `name` string, required: Folder name
  - `remote-secret-name` string: Remote Secret Name to delete when multiple syncs exist under the same USC
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication
  - `usc-name` string, required: Universal Secret Connector name

## Response `200`

- FolderDeleteSyncOutput
  - `deleted_syncs` string[]
  - `failed_items` object
  - `folder_name` string
  - `usc_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)
