Gerra LogoGerra
API Reference/Mecha/Setting/Deploy

Apply deploy config

Save deployment configuration and restart service.

POST
/mecha/setting/deploy/apply

Request Body

application/jsonOptional
bodyobject | null | null

Query Parameters

mecha_idRequiredMecha Id

Header Parameters

gerra-api-keystring | null | null

Response Body

Successful Response

TypeScript Definitions

Use the response body type in TypeScript.

responseRequiredunknown
curl -X POST "https://api.gerra.com/mecha/setting/deploy/apply?mecha_id=string" \
  -H "gerra-api-key: string" \
  -H "Content-Type: application/json" \
  -d '{}'
null