Update a service
put
{protocol}//{host}:{port}{basePath}/ic/api/fileserver/v1/services/{serviceType}
Update a service's status
Request
Path Parameters
-
serviceType(required): string
serviceType
Supported Media Types
- application/json
serviceStatus
Root Schema : schema
Type:
object
Describes status of given service.
Show Source
-
activationError: string
Read Only:
true
Activation error description, if service is in FAILD state -
serviceType: string
Allowed Values:
[ "sftp" ]
Service name -
status: string
Allowed Values:
[ "RUNNING", "STOPPED", "STARTING", "SHUTTING DOWN", "FAILED" ]
Activation Status
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : schema
Type:
object
Describes status of given service.
Show Source
-
activationError: string
Read Only:
true
Activation error description, if service is in FAILD state -
serviceType: string
Allowed Values:
[ "sftp" ]
Service name -
status: string
Allowed Values:
[ "RUNNING", "STOPPED", "STARTING", "SHUTTING DOWN", "FAILED" ]
Activation Status
400 Response
Bad request
401 Response
Unauthorized to update the service
404 Response
Embedded Server not found
500 Response
Internal Server Error