POST/api/v2/target-accounts/{id}/unadopt
access:manageAPI token
Delete the generated adoption policy, revoke Principal-managed credentials, and transition the adopted target-local account back to unmanaged without deleting the pre-existing target account.
Parameters
Path1 required of 1
idstringpathrequired
Target account link ID (UUID)
Responses
204
No Content
409
The account can't be handed back: among other conflicts, a cut-off password change of the account waits for a check (rotation.check_required). Check it on the identity's credentials card first.
Common errors: 400 401 403 404 429 503 504. They mean the same for every operation, see Errors.