---
title: "De-authorize a provider from a principal"
method: DELETE
path: "/v2/directories/{directoryId}/principals/{principalId}/vault-credentials/{vaultCredentialId}"
tags: ["TokenVaultCredentials"]
---

# De-authorize a provider from a principal

`DELETE /v2/directories/{directoryId}/principals/{principalId}/vault-credentials/{vaultCredentialId}`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v2/directories/{directoryId}/principals/{principalId}/vault-credentials/{vaultCredentialId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Removes the principal's link to the provider, deleting its stored credential. The principal must re-enroll to link the provider again.

## Path parameters

- `directoryId` string, uuid, required
- `principalId` string, uuid, required
- `vaultCredentialId` string, uuid, required

## Response `204`

Success

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2026-11-03** `72599e2b1b09`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v2/directories/:directoryId/principals/:principalId/vault-credentials/:vaultCredentialId/delete.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) - [All operations](https://skmtc.dev/kong/apis/konnect-api-go-sdk/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4?raw)
