agora/group/leave
https://toip.tools/spec/agora/group/leave/0.1
A member asks a registrar to take their leaf out of a group.
- Sent
- member registrar
- Kind
- Request and response. The response's type is
https://toip.tools/spec/agora/group/leave/0.1#response. - Envelope
- Signed by the issuer, addressed to one recipient, timestamped, and encrypted in a TSP Direct message. The signature and recipient binding prevent its use as a bearer token.
- Defined in
projects/agora/src/protocol/specs.ts:12asGROUP_LEAVE- Handled in
projects/agora/src/registrar/registrar.ts- Design
- 7.6 Trust Task types in
projects/agora/docs/design.md
Source documentation: “member DID → registrar: { group } → { removed: true }.”
Payload
A payload declaration is not available on this page. Follow the source links above for the handler's requirements.
Notes
The request carries { group }; the answer is { removed: true }. The leaf is gone from the next published root.
Document envelope
Every Trust Task uses this envelope. Replace payload with the structure shown above.
{
"id": "urn:uuid:…",
"type": "https://toip.tools/spec/agora/group/leave/0.1",
"issuer": "did:key:… (the sender)",
"recipient": "did:key:… (the receiver)",
"issuedAt": "2026-11-06T18:00:00.000Z",
"payload": { … },
"proof": {
"type": "DataIntegrityProof",
"cryptosuite": "eddsa-jcs-2022",
"verificationMethod": "did:key:…#…",
"proofPurpose": "assertionMethod",
"proofValue": "z…"
}
}