Infer the selected target-local account's live grants before full adoption. The operator must confirm or edit the returned rules and submit them to the adopt endpoint.
Parameters
Target ID (UUID)
Request body application/json · PreviewTargetAccountAdoptionRequest
8 fields
postgresmysqlkubernetesclickhousemongodbServiceAccountUserGroupAuthentication database of a MongoDB user
Responses
Inferred adoption rules
PreviewTargetAccountAdoptionResponse · 9 fields
8 fields
principal_managed 3 fields
Where a row of a rule came from: written in the rule, materialized from its template, or imported from the live account at adoption or by the one-off import after an upgrade. An imported row is part of the desired state like any other row.
ruletemplateimportedMemberships of the account adoption takes into the rule (PostgreSQL), origin imported. Privileges the account holds only through a membership stay with the membership instead of becoming direct grants.
5 fields
Where a row of a rule came from: written in the rule, materialized from its template, or imported from the live account at adoption or by the one-off import after an upgrade. An imported row is part of the desired state like any other row.
ruletemplateimported2 fields
The account can't be previewed yet (resource.conflict): Principal has not found it on the target, so the target needs a scan first.
Common errors: 400 401 403 404 413 429 503 504. They mean the same for every operation, see Errors.