Docs
Live demo
POST/api/v2/targets/{id}/hba/validate

Validate the pg_hba.conf configuration for a PostgreSQL target

Parameters

Path1 required of 1
idstringpathrequired

Target ID (UUID)

Responses

200

OK

HBAValidationResponse · 6 fields
file_pathstring
file_readableboolean
file_writableboolean
messagestring
reload_availableboolean
validboolean
422

The target is not PostgreSQL: HBA management works only for PostgreSQL targets (request.unprocessable).

Common errors: 400 401 403 404 409 429 503 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close