Skip to main content
POST
Change a subtenant's tier (plan)

Authorizations

Authorization
string
header
required

An API key from your Devic console, sent as Authorization: Bearer <key>. An embedded front end sends a tenant-session token instead, so no API key reaches the browser, and an OAuth integration sends its access token. Missing, invalid or expired credentials get a 401. See Authentication.

Path Parameters

tenantId
string
required

tenantId

subtenantId
string
required

subtenantId

Body

application/json
tierId
string
required

Tier (plan) to assign

reason
string

Free-text reason stored in the tier-change audit log

resetUsage
boolean

Also reset usage counters on change

Response

Change result

The response is of type object.