Docs / Yamcs HTTP API / Services / Edit Service

Edit Service

Edit a global service:

PATCH /api/services/_global/:name

Edit a service for a specific Yamcs instance:

PATCH /api/services/:instance/:name
Name Type Description
state string The state of the service. Either running or stopped. Note that once stopped, a service cannot be resumed. Instead a new service instance will be created and started.

Example

Start a service:

{
  "state" : "running"
}

Stop a service:

{
  "state" : "stopped"
}