PATCH
/
api
/
v1
/
apps
/
{uuid}
/
state
Change application state
curl --request PATCH \
  --url https://app.miget.com/api/v1/apps/{uuid}/state \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "state": "schedule_stop"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token for authentication. Format: 'Bearer {token}'

Headers

X-Workspace-Id
string

Workspace ID (uses default workspace if not provided)

Path Parameters

uuid
string
required

Application UUID

Body

application/json

Change application state

state
enum<string>
required

Target state: 'schedule_start' to start, 'schedule_stop' to stop, 'schedule_restart' to restart

Available options:
schedule_stop,
schedule_start,
schedule_restart

Response

Change application state

Api_V1_Entities_Message model

message
string
required

Response message