---
title: "Delete Credential"
method: DELETE
path: "/v2/credentials/{credential_id}"
tags: ["Credentials v2"]
---

# Delete Credential

`DELETE /v2/credentials/{credential_id}`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/v2/credentials/{credential_id}`
- Auth: HTTP bearer

Delete a credential.

By default, performs a soft delete (marks as inactive).
Use hard_delete=true to permanently remove.

## Path parameters

- `credential_id` string, required

## Query parameters

- `hard_delete` boolean: Permanently delete (default: soft delete)

## Headers

- `Authorization` string
- `X-JubJub-Service-Key` string
- `X-JubJub-Agent-Key` string
- `X-JubJub-Platform-Key` string
- `Origin` string
- `Referer` string
- `X-JubJub-Trial-Token` string

## Response `200`

Successful Response

- DeleteCredentialResponse: Response after deleting a credential.
  - `deleted` boolean, required
  - `credential_id` string, required
  - `message` string, required
  - `launches_cancelled` integer
  - `approvals_cancelled` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
