Rebuild a replica
Empties the data directory of a replica and clones the data again from the leader with Patroni. The server keeps its packages, its TLS files, its etcd member and its mesh address. The leader cannot be rebuilt: switch over first. Every other member must be healthy.
POST
/api/v1/database-services/{id}/servers/{server_id}/rebuild-replicaAuthorization
tse_sessionAPI key · cookierequiredPath parameters
idstringrequiredserver_idstringrequiredResponses
202
Accepted
server_idstringrequiredworkflow_idstringrequireddefault
Error
codestringStable code of the refusal, when the route has codes
detailsstring[]Additional detail, e.g. per-field validation failures
errorstringrequiredHuman-readable error message