---
title: "Set default member credit limit"
method: PUT
path: "/api/workspace/default-credit-limit"
---

# Set default member credit limit

`PUT /api/workspace/default-credit-limit`

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Sets the credit limit for every member of a workspace who doesn't have their own, or removes it when `default_credit_limit` is `null`. Members with their own limit keep it. [List workspace members](/api-reference/list-workspace-members) shows the default in a member's `credit_limit`, with `is_default_limit` set to `true`.

The default can't be more than the workspace's monthly credits. The workspace owner is never limited. Setting the same default again changes nothing, so retrying is safe.

Member credit limits need the Business plan or higher. Below it, this returns a `402`.

This is limited to 30 requests per minute, shared with [Update workspace member role](/api-reference/update-workspace-member-role), [Remove workspace member](/api-reference/remove-workspace-member), [Set member credit limit](/api-reference/set-member-credit-limit), and [Set default member credit limit](/api-reference/set-default-member-credit-limit). A signed-in session has its own limit, and every personal access token for the workspace shares one. Some workspaces have a different limit.

<Note>Call this as an owner or admin of the workspace, with a personal access token for that workspace sent as a Bearer token, or from a signed-in session. A read-only token is refused, and workspace API keys aren't accepted.</Note>

## Query parameters

- `workspaceId` string, required — ID of the workspace. With a personal access token, use the token's workspace. Get it from `organization_id` in [Get app](/api-reference/get-app).

## Request body

- UpdateDefaultCreditLimitRequest — The workspace's default member credit limit.
  - `default_credit_limit` integer, nullable — Most credits each member without their own limit can use in the workspace each month, at least 1. `null`, or leaving it out, removes the default.

## Response `200`

The workspace default changed.

- ChangeResult — Confirms the change.
  - `status` 'success', required — Always `success`.
  - `message` string, required — Short confirmation. Its wording can change, so don't parse it.

## Other responses

- `400` — The default is more than the workspace's monthly credits.
- `401` — Missing or invalid credentials.
- `402` — The workspace's plan doesn't include member credit limits.
- `403` — You aren't an owner or admin of the workspace, your token is for a different workspace or is read-only, or your credential can't be used on this endpoint.
- `409` — Your workspace requires an unlocked SSO session.
- `422` — Validation Error
- `429` — Rate limit exceeded.

## Changes

> 28 revisions in range; 1 not diffed.

- **2026-10-06** `dddf17e0f9f0` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/adexad/apis/base44-app-management-api/changes/api/workspace/default-credit-limit/put.md)

---

[API](https://skmtc.dev/adexad/apis/base44-app-management-api.md) · [All operations](https://skmtc.dev/adexad/apis/base44-app-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/adexad/apis/base44-app-management-api/revisions/99df85f579f9?raw)
