メインコンテンツへスキップ
PUT
/
api
/
v0
/
organization
/
usage
/
limits
/
global
Set global user credits limit
curl --request PUT \
  --url https://api.factory.ai/api/v0/organization/usage/limits/global \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "limit": 1000001
}
'
{
  "limit": 1
}

Documentation Index

Fetch the complete documentation index at: https://docs.factory.ai/llms.txt

Use this file to discover all available pages before exploring further.

承認

Authorization
string
header
必須

Factory API key or JWT token for authentication

ボディ

application/json
limit
integer | null
必須

Global per-user credits limit (minimum 1,000,000). Pass null to remove the global limit.

必須範囲: x >= 1000000

レスポンス

Response for status 200

limit
integer | null
必須

The limit that was set, or null if it was removed

必須範囲: x >= 0