POST/api/v2/targets/{id}/test-connection
targets:manageAPI token
Verify connectivity to the target database or Kubernetes cluster with its saved connection. Nothing changes on the target. A passing check is recorded on the target's paused discovery and drift checks (operation_pauses.connection_verified), so the next run a person starts ends the pause. The check alone ends none.
Parameters
Path1 required of 1
idstringpathrequired
Target ID (UUID)
Responses
200
Connection test result
403
The target rejected the configured credentials, or the caller cannot manage the target
422
Connection test failed. The response does not include driver details. A target whose saved connection is missing from the secret store answers target.connection_missing with resolution target.edit_connection.
Common errors: 400 401 404 409 429 503 504. They mean the same for every operation, see Errors.