Skip to main content
PATCH
/
v0
/
orgs
/
{org_id}
/
rpc-sponsorship
Set monthly gas sponsorship budget
curl --request PATCH \
  --url https://sis.sumvin.com/v0/orgs/{org_id}/rpc-sponsorship \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "budget_usd": "<string>",
  "period": "monthly"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org_id
string
required

Organisation external id (org-...).

Body

application/json
budget_usd
string
required

Maximum USD spend per period, as a decimal string. Must be positive.

Pattern: ^[0-9]+(\.[0-9]+)?$
period
enum<string>
default:monthly

Period unit the budget applies to. Currently only 'monthly' is supported.

Available options:
monthly

Response

Successful Response

The response is of type Response Patch Rpc Sponsorship V0 Orgs Org Id Rpc Sponsorship Patch · object.