Erase another user (admin)
Admin
Erase another user (admin)
POST /v1/admin/users/{id}/erase - admin-erasure on behalf of
another user. Requires is_admin = TRUE on the caller’s row.
Refuses self-erase via this route (use /v1/api/me/erase) so the
audit trail consistently records actor == subject only for the
explicit self path.
POST
Erase another user (admin)
Authorizations
Personal Access Token. Send as Authorization: Bearer hq_pat_....
Path Parameters
Subject user id to erase
Body
application/json
Optional free-text justification. Captured in the redaction reason so the audit trail surfaces why. e.g. "GDPR Article 17 deletion request, ticket #1234".
Response
Erasure summary