Secrets

Delete a secret

Changed on

Delete a stored credential. HARD — the row and the encrypted value both go, and MCPJam stops delivering it. Deliberately NOT blocked when an environment still selects it: refusing would leave a leaked credential undeletable until someone edited every environment naming it, and deletion must never wait on cleanup. Runs already in flight keep the value they were handed, and this does NOT revoke the credential at the provider that issued it.

delete/projects/{projectId}/secrets/{secretId}

Request

  • Base URL
    https://app.mcpjam.com/api/v1
  • URL
    https://app.mcpjam.com/api/v1/projects/{projectId}/secrets/{secretId}
  • Auth
    HTTP bearer

Response

The secret was revoked.

idstring required
projectIdstring required
namestring required

Echoed so a caller logging the revoke needs no prior read.

deletedtrue required

Changes