Skip to main content
PUT
Set a subteam's spending cap

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

team_id
string<uuid>
required

Body

application/json
spending_cap_credits
number<float> | null
required

The cap in credits; null removes it, 0 stops the team's tasks

Required range: x >= 0

Response

The subteam after the change

admin_emails
string[]
required

The team's admins, owner included, as each person's own address; ownership can go to any of them

created_at
string<date-time>
required
id
string
required
member_count
integer
required

Accepted members

Required range: x >= 0
name
string
required
owner_email
string
required

The owner's email (a person's own address, never an identity alias's)

spending_cap_credits
number<float> | null

The team's spending cap in credits, set by the main team's admins; null when none

used_credits
number<float>

Credits the team's members spent from the family's balance since the main team's usage start