Skip to main content
PUT
/
v1
/
accounts
/
{accountId}
/
plan
Change account plan
curl --request PUT \
  --url https://api.sakari.io/v1/accounts/{accountId}/plan \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "commitment": 123,
  "frequency": "<string>"
}
'
{
  "success": true,
  "data": {
    "id": "<string>",
    "name": "<string>",
    "price": 123,
    "credit": 123,
    "pricing": {},
    "commitment": 123,
    "maxCommitment": 123,
    "minCommitment": 123,
    "passThroughPlanEligible": true,
    "billingFrequency": "monthly",
    "includedPhoneNumberCountries": [
      "<string>"
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://developer.sakari.io/llms.txt

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

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

accountId
string
required

Account to apply operations to

Body

application/json
name
string

name of the plan you want

commitment
number
frequency
string

Response

successful operation

success
boolean
required
data
object
required