Skip to main content

Add a family and manage guardians

STAFF GUIDE

Add a household, add its people, set a guardian, and remove a guardian quickly when you must.

Who this guide is for

Org staff who manage households. Staff are owners, admins and members with the registrar tag. You use the API, because the household admin screen is for superusers.

Why it matters

Guardians manage children's records. A wrong guardian flag gives the wrong adult access to a child. Staff must be able to remove a guardian at once.

What you will do, in one sentence

Create the household, add each person, set the guardian flag on the adults who may manage the children, and clear the flag if that changes.

Screens are captured from a seeded test system. Every name, address and number on the screens is invented. Prepared 15 November 2026.

A guardian flag is a church record, not a legal finding

Claviger does not decide custody. Courts do. Age rules for children differ by country. Ask a lawyer before you change how minors are handled.

1. What a household holds​

A household groups people. Each person is a row. A person may have a login, but a child never does. Claviger refuses to give a minor a login, and a minor is never a guardian.

Address, home phone, birth date, allergies and medical notes are encrypted. Your administrator must set the key before you store children's data. Until then, Claviger refuses to store these values.

Staff can read and change every household of their organization. Staff of a higher organization do not see a household through the tree.

2. Add a family​

Any active member can create a household for themselves. Staff can also create an empty household.

curl -X POST https://auth.example.org/api/households \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"org": "$ORG_ID", "name": "Example household"}'

The answer gives the household id. Add each person with it.

curl -X POST https://auth.example.org/api/households/$HOUSEHOLD_ID/members \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"name": "Alex Example", "role": "adult", "guardian": true}'

The roles are head, spouse, adult, child and other. For a child, send "isMinor": true and a birthDate such as 2016-05-17. When there is a birth date, Claviger works out isMinor from it and the graduation age of the organization.

3. Set a guardian​

A household with an active minor must keep at least one active adult guardian. Set the flag on an adult:

curl -X POST https://auth.example.org/api/households/$HOUSEHOLD_ID/members/$MEMBER_ID/guardian \
-H "Authorization: Bearer $TOKEN"

A guardian can manage the household's details, add people and edit the children. A guardian cannot clear another guardian's flag.

Only staff or an existing guardian can set the flag. Check who the adult is before you do.

4. Remove a guardian quickly​

Staff can clear another person's guardian flag at once. The person's access to the children ends on their next request.

curl -X DELETE https://auth.example.org/api/households/$HOUSEHOLD_ID/members/$MEMBER_ID/guardian \
-H "Authorization: Bearer $TOKEN"

To remove the person from the household as well, delete the member with DELETE /api/households/$HOUSEHOLD_ID/members/$MEMBER_ID.

If the person is the last active adult guardian of a household with a minor, Claviger refuses with a 409. Set another adult as guardian first, then remove the first.

Removal takes effect at once

The adult loses guardian access on their next request. Every change goes to the audit log with your name. Decide with your safeguarding lead and, where needed, a lawyer.

5. What families see​

People sign in at /households/mine, the "My household" page. A guardian can change the household details and the people. Anyone else in the household sees the same data read-only. They see "You can see this household, but only a guardian can change it. Ask a guardian or the church office."

When a minor reaches the graduation age, 18 by default, a daily job clears the minor flag. Guardians then lose write access. Staff can give the person a login.

6. Quick reference card​

Add a family​

  1. POST /api/households with org and name.
  2. POST /api/households/{id}/members for each person.

Guardians​

  1. Set: POST .../members/{member}/guardian.
  2. Remove: DELETE .../members/{member}/guardian.

A household with a minor always needs one active adult guardian. Set the new one first.