---
title: "Set org default credential"
method: PUT
path: "/organizations/{id}/credential"
tags: ["Organizations"]
---

# Set org default credential

`PUT /organizations/{id}/credential`

Sets the default managed credential for an organization. Workspaces without their own credential fall back to this.

## Path parameters

- `id` string, required

## Request body

- GithubComActiveloopaiDeeplakeApiInternalWorkspacesLinkCredentialRequest
  - `credential_id` string

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

---

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