Board members

Deactivate a board member

Ends a board seat, stamping it with the time it ended. The row stays, so the history of who served is kept. Requires the hoa_board_members:write permission.

POST
https://services.magicdoor.com/hoa/company-portal/associations/board-members/{boardMemberId}/deactivate

Authorization

Authorizationstringrequired
Bearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.

Path parameters

boardMemberIdstringrequired

The board seat to end. This is the seat's id, not the owner's.

example: 1830472847398409216

Response

200 · The seat, now ended.

idstring

The board seat. A 64-bit id sent as a decimal string.

companyIdstring

The company the seat belongs to.

ownerIdstring

The owner who holds the seat.

activeboolean

true while the owner is serving. An inactive row is the record of a past seat.

rolestring

Free text describing the seat, for example President. Absent when none was given.

seatStartedAtstring · date-time

When the seat began, in the company's timezone. Set to the moment of appointment.

seatEndedAtstring · date-time

When the seat ended, in the company's timezone. Absent while the member is still serving.

createdstring · date-time

When the row was created, in the company's timezone.

updatedstring · date-time

When the row last changed, in the company's timezone.

400 · The calling company is not in HOA business mode.

401 · The bearer token is missing, expired, or not valid.

403 · The token is valid but the caller does not hold the `hoa_board_members:write` permission.

404 · No board seat with that id belongs to the calling company.

Safe to repeat

Calling this on a seat that has already ended returns the seat unchanged rather than an error, and does not move seatEndedAt.

Deactivating does not touch votes that are already open: a member who was eligible when a vote started stays on its voter list and can still cast a ballot. It only changes who becomes eligible for votes opened from now on.

An owner is also deactivated automatically if their owner record is deleted.

HOA companies only

Every architectural request and board member endpoint first checks that the calling company is set up as an HOA. A company in any other business mode gets 400 Bad Request with the detail Company is not in HOA business mode.