Restart Replicas (Pods)
Roll all of a service's replicas (pods). Causes a brief disruption while pods restart.
Roll all of a service's replicas (pods). Causes a brief disruption while pods restart.
Authorization
bearerAuth 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.
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 }}Get Replica (Pod) Health GET
Get the aggregated health/status of a service's replicas (pods).
Query Logs GET
Query historical logs for a team, project, environment, service, or deployment. Send the ID of the level named by type along with the IDs of every level above it. The deployment and build types need service_id and deployment_id.