Unbind
Replicas

Restart Replicas (Pods)

Roll all of a service's replicas (pods). Causes a brief disruption while pods restart.

PUT
/replicas/restart

Roll all of a service's replicas (pods). Causes a brief disruption while pods restart.

Authorization

bearerAuth
AuthorizationBearer <token>

Access token or API key (unb_...) passed as Authorization: Bearer <token>.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

environment_id*string
project_id*string
service_id*string
team_id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/replicas/restart" \  -H "Content-Type: application/json" \  -d '{    "environment_id": "string",    "project_id": "string",    "service_id": "string",    "team_id": "string"  }'
{  "data": {    "restarted": true  }}