Services_updateService

Update service changes.

SecuritybearerAuth
Request
path Parameters
id
required
string

service id.

query Parameters
force
string

optional - force updated old replicas immediately if the value has set is true, it will go to services driver(kubernetes...) and restarting all the replicas without waiting

Request Body schema: application/json
packageRevision
string
initParams
object
runtime
object (ServiceRuntime)
useUserJwt
boolean
object (ServiceVersions)
moduleName
string
global
boolean
active
boolean
runExecutionAsProcess
boolean
executionTimeout
number <double>
drainTime
number <double>
onReset
string
maxAttempts
number <double>
version
string
botUserName
string
driverId
string
secrets
Array of strings
type
string
Enum: "system" "regular"
object (ServiceMode)
object (ServiceMetadata)
Array of objects (Panel)
packageId
string
packageName
string
Responses
200

Ok

patch/services/{id}
Request samples
application/json
{
  • "packageRevision": "string",
  • "initParams": { },
  • "runtime": { },
  • "useUserJwt": true,
  • "versions": {
    },
  • "moduleName": "string",
  • "global": true,
  • "active": true,
  • "runExecutionAsProcess": true,
  • "executionTimeout": 0,
  • "drainTime": 0,
  • "onReset": "string",
  • "maxAttempts": 0,
  • "version": "string",
  • "botUserName": "string",
  • "driverId": "string",
  • "secrets": [
    ],
  • "type": "system",
  • "mode": {
    },
  • "metadata": {
    },
  • "panels": [
    ],
  • "packageId": "string",
  • "packageName": "string"
}
Response samples
application/json
{ }