---
title: "POST /static-secret-delete-sync"
method: POST
path: "/static-secret-delete-sync"
tags: ["v2"]
---

# POST /static-secret-delete-sync

`POST /static-secret-delete-sync`

## Request body

- StaticSecretDeleteSync
  - `delete-from-usc` boolean — Delete the secret from the remote target USC as well
  - `json` boolean — Set output format to JSON
  - `name` string, required — Static secret name
  - `remote-secret-name` string — Remote Secret Name to disambiguate 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`

staticSecretDeleteSyncResponse wraps response body.

- StaticSecretDeleteSyncOutput
  - `secret-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.net/akeyless/apis/akeyless-api.md) · [All operations](https://skmtc.net/akeyless/apis/akeyless-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeyless/akeyless-api/versions/0ceb25634501/schema)
