---
title: "Delete credential by provider or ID"
method: DELETE
path: "/api/projects/{projectId}/credentials/{provider}"
tags: ["Credentials"]
---

# Delete credential by provider or ID

`DELETE /api/projects/{projectId}/credentials/{provider}`

Delete credential by provider or ID. Deletes or detaches the target resource and returns the action status.

## Path parameters

- `projectId` string, required
- `provider` string, required

## Response `200`

Credential deleted

- MessageResponse — Generic action result message used by endpoints that do not return a dedicated resource.
  - `message` string — Human-readable status or error message.
  - `status` string — Current status value.
  - `success` boolean — Whether the requested action succeeded.

---

[API](https://skmtc.net/ibuildthecloud/apis/discobot-server-api.md) · [All operations](https://skmtc.net/ibuildthecloud/apis/discobot-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ibuildthecloud/discobot-server-api/versions/4de3fcd6be56/schema)
