---
title: "Delete Secret Request"
method: DELETE
path: "/agents/v2/secret-requests/{requestId}"
tags: ["Secrets"]
---

# Delete Secret Request

`DELETE /agents/v2/secret-requests/{requestId}`

## Request

- Base URL: `https://odyssey.asteroid.ai`
- URL: `https://odyssey.asteroid.ai/agents/v2/secret-requests/{requestId}`
- Auth: API key in header `X-Api-Key`

Delete a request in any state. A pending request stops working at once; its link returns 404. The secret a completed request created is kept.

## Path parameters

- `requestId` string, uuid, required

## Response `204`

There is no content to send for this request, but the headers may be useful.

## Other responses

- `400`: The server could not understand the request due to invalid syntax.
- `401`: Access is unauthorized.
- `403`: Access is forbidden.
- `404`: The server cannot find the requested resource.
- `409`: The request conflicts with the current state of the server.
- `500`: Server error

---

[API](https://skmtc.dev/asteroid/apis/agent-service.md) - [All operations](https://skmtc.dev/asteroid/apis/agent-service/llms.txt) - [OpenAPI document](https://skmtc.dev/asteroid/apis/agent-service/revisions/ccc134d1d510?raw)
