---
title: "Delete application secret"
method: DELETE
path: "/api/applications/{id}/secrets/{name}"
tags: ["Applications"]
---

# Delete application secret

`DELETE /api/applications/{id}/secrets/{name}`

Delete a secret for the application by name.

## Path parameters

- `id` string, required
- `name` string, required

## Response `204`

The secret was deleted successfully.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/logto/apis/logto-api-references.md) · [All operations](https://skmtc.net/logto/apis/logto-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/logto/logto-api-references/versions/a163dc77d842/schema)
