Delete an unused school accounting account

Deletes a SchoolSet account when no deposit batch references it and returns the deleted account representation.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

idintegerRequired
SchoolSet account identifier.

Response

Account deleted and returned as an AccountResource.
statusstring
messagestring
datamap from strings to any
Deleted AccountResource representation.

Errors

400
Bad Request Error
403
Forbidden Error