---
title: "Revoke Shared Credential"
method: DELETE
path: "/v2/teams/{team_id}/credentials/{shared_credential_id}"
tags: ["v2 - Shared Credentials"]
---

# Revoke Shared Credential

`DELETE /v2/teams/{team_id}/credentials/{shared_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/teams/{team_id}/credentials/{shared_credential_id}`
- Auth: HTTP bearer

Revoke a shared credential.

Only the owner of the credential or team admin can revoke it.

## Path parameters

- `team_id` string, required
- `shared_credential_id` string, required

## 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 `204`

Successful Response

## 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)
