Skip to main content
PATCH
Update organization limits (Admin only)

Authorizations

Authorization
string
header
required

JWT access token for user authentication (Authorization: Bearer <jwt_token>). Create via POST /users/me/access_tokens.

Path Parameters

org_id
string
required

Organization ID to update limits for

Body

application/json

Request to update organization limits (Admin only)

spendLimit
object
required

Spend limit for API requests

The system internally uses a fixed scale of 9 (nano-dollars = 1 billionth of a dollar). Clients must provide amounts in nano-dollars.

Examples: $100.00 USD: amount=100000000000, currency="USD" $1.00 USD: amount=1000000000, currency="USD" $0.01 USD: amount=10000000, currency="USD"

type
enum<string>
required

Credit type for organization limits

  • grant: Free credits provided by the platform
  • payment: Credits purchased by the organization
  • staking_farm: House of Stake farm reward units converted into credits
Available options:
grant,
payment,
staking_farm
changeReason
string | null
changedBy
string | null
source
string | null

Response

Organization limits updated successfully

Response after updating organization limits

organization_id
string
required
spendLimit
object
required

Spend limit for API responses

The system uses a fixed scale of 9 (nano-dollars = 1 billionth of a dollar). The scale field is included in responses for client convenience.

Examples: $100.00 USD: amount=100000000000, scale=9, currency="USD" $0.01 USD: amount=10000000, scale=9, currency="USD"

type
enum<string>
required

Credit type for organization limits

  • grant: Free credits provided by the platform
  • payment: Credits purchased by the organization
  • staking_farm: House of Stake farm reward units converted into credits
Available options:
grant,
payment,
staking_farm
updated_at
string
required
source
string | null