# reactivateAccount

## Overview

Returns an INACTIVE GL account to ACTIVE so it can be posted to again. The native coa-management command rejects an account that is already ACTIVE (invalid state transition). This is the inverse of [deactivateAccount](./deactivateAccount.md).

## Modules Commands Used

- [coa-management] reactivateAccount

## Exception Handling

| Error Code | Description |
| --- | --- |
| COA_MANAGEMENT_ACCOUNT_NOT_FOUND | No account exists for the given ID. |
| COA_MANAGEMENT_INVALID_STATE_TRANSITION | The account is not INACTIVE, so it cannot be reactivated. |
