Skip to main content
PUT
Set default member credit limit

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

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.

Minimum string length: 1

Body

application/json

The workspace's default member credit limit.

default_credit_limit
integer | null

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.

Required range: x >= 1
Example:

300

Response

The workspace default changed.

Confirms the change.

status
string
required

Always success.

Allowed value: "success"
Example:

"success"

message
string
required

Short confirmation. Its wording can change, so don't parse it.

Example:

"Members added to group."