Change a service's license
Bind a database service to a different installed license.
POST
/api/v1/database-services/{id}/licenseAuthorization
tse_sessionAPI key · cookierequiredPath parameters
idstringrequiredRequest body
requiredapplication/jsonlicense_filestringrequiredInstalled license file id to bind this service to
restartbooleanOn a deployed service, also restart PostgreSQL to apply the new caps now (HA: one switchover; single node: a short outage). Without it, only the caps that need no restart apply now.
sizestringOn a trial license, the size (a tier name) to cap PostgreSQL to. Empty on a trial means no caps. A paid license ignores it.
Responses
200
OK
caps_applystringrequiredAllowed:
startednot_startednot_neededdetailstringdefault
Error
codestringStable code of the refusal, when the route has codes
detailsstring[]Additional detail, e.g. per-field validation failures
errorstringrequiredHuman-readable error message