Test a stored target connection
POST/targets/:tid/test-connection
With no body (or config omitted), probes the stored config as-is (health-check). With a config body, merges it onto the stored config (masked '****' secret resolution) and probes the merged result (edit-time validation) — mirrors the pre-creation route's target_id-merge branch, scoped via the path instead of the body.
Request
Responses
- 200
- 401
- 404
- 409
- 422
Successful Response
Missing or invalid credentials
Resource not found (incl. cross-org ids)
Action blocked by the resource's current state
Request validation failed