Skip to main content
PATCH
/
api
/
v1
/
teams
/
default-spending-cap
Set or clear the team-wide default spending cap
curl --request PATCH \
  --url https://neo.api.projectdiscovery.io/api/v1/teams/default-spending-cap \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "default_spending_cap_usd": 1,
  "apply_to_all_members": false
}
'
{
  "default_spending_cap_usd": 123
}

Authorizations

Authorization
string
header
required

JWT authentication token

Body

application/json
default_spending_cap_usd
number<float> | null
required

Team-wide default cap in USD applied to members without an explicit override (including the owner). null clears the default. 0 blocks all such members.

Required range: x >= 0
apply_to_all_members
boolean
default:false

When true, clear every team member's individual spending-cap override so they all inherit this team default. A one-time bulk action applied at save time. If default_spending_cap_usd is null, all overrides are cleared too (everyone becomes pool-only / unlimited). Default false leaves existing overrides intact.

Response

Default updated

default_spending_cap_usd
number<float> | null
required

Current team-wide default cap in USD, or null if unset.