Skip to content

Restart Service

POST
/api/services/{service_id}/restart
curl --request POST \
--url https://kelpie.example.com/api/services/example/restart

Replace the service’s tasks with fresh ones, keeping its spec.

service_id
required
Service Id
string

Successful Response

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}