API ReferenceReferenceTenants
Retrieve the current tenant
Authorization
BearerAuth AuthorizationBearer <token>
Bearer token in the Authorization header. Key prefix determines
environment: lrn_test_ → Base Sepolia, lrn_live_ → Base mainnet.
In: header
Response Body
application/json
application/json
curl -X GET "https://api.learncoin.me/v1/tenants/me"{
"id": "string",
"name": "string",
"did": "did:web:learncoin.me#tenant-01HXYZ",
"plan": "developer",
"environment": "test",
"credentials_issued_this_month": 0,
"credentials_limit_this_month": 0
}{
"error": {
"code": "credential_not_found",
"message": "string",
"request_id": "req_01HXYZABCDEF"
}
}GDPR erasure
Honor a recipient's GDPR right-to-be-forgotten request. Redacts recipient PII from the off-chain store. The on-chain anchor and cryptographic proof are not affected — the credential remains verifiable.
Update tenant metadata
Partially update tenant-level display metadata. Only fields present in the body are updated.