---
title: "Delete Credentials"
method: DELETE
path: "/api/integrations/{provider}/credentials/{cred_id}"
tags: ["v1", "integrations"]
---

# Delete Credentials

`DELETE /api/integrations/{provider}/credentials/{cred_id}`

## Path parameters

- `provider` string, required — Provider name for integrations. Can be any string value, including custom provider names.
- `cred_id` string, required

## Query parameters

- `force` boolean

## Response `200`

Successful Response

- union
  - CredentialsDeletionResponse
    - `deleted` true
    - `revoked` boolean, nullable, required — Indicates whether the credentials were also revoked by their provider. `None`/`null` if not applicable, e.g. when deleting non-revocable credentials such as API keys.
  - CredentialsDeletionNeedsConfirmationResponse
    - `deleted` false
    - `need_confirmation` true
    - `message` string, required

## Other responses

- `401` — Authentication required
- `422` — Validation Error

---

[API](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/significant-gravitas/autogpt-agent-server/versions/382041c7ecb2/schema)
