---
title: "Remove Credentials"
method: DELETE
path: "/credentials/{id}"
tags: ["Credentials"]
---

# Remove Credentials

`DELETE /credentials/{id}`

Remove credentials

## Path parameters

- `id` string, required

## Response `200`

Removed credentials

- Credentials
  - `id` string — ID of credentials
  - `created_time` integer — Time credentials were created
  - `created_by_id` string — User ID who created these credentials
  - `last_updated_time` integer — Time credentials entity was last updated
  - `last_updated_by_id` string — User ID who last updated these credentials
  - `organization_id` string — Organization ID
  - `name` string — Display name
  - `description` string — Description
  - `tags` Tag[] — Free text tags
    - `name` string, required — tag name
    - `values` string[]
  - `totp_pins` ComputedTotpPin[] — TOTP pins computed for time range (only for MFA type credentials, upon request by authorized caller)
    - `start_time` integer — Starting Unix epoch millisecond key of validity window - lasts 60s
    - `pin` string — Computed pin for time frame
  - `cloud_only` boolean — True if the credentials secrets are only accessible to cloud runs. Cannot be changed from true to false.
  - `type` 'basic' | 'basic_with_totp' — Type of credentials
  - `properties` object — Properties that are specific to the given credentials type.
  - `resource_groups` DerivedResourceGroup[] — Resource groups this resource belongs to
    - `resource_group_id` string — ID of the resource group
    - `short_name` string — Name of the resource group
    - `parent_id` string — ID of the parent to which this ResourceGroup belongs
    - `parent_namespace` 'workspaces' — Namespace of the parent to which this ResourceGroup belongs

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `404` — Credentials not found
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
