{"name":"Bloksy Auth API","version":"1.0.0","description":"OAuth 2.1 Authorization Server with OpenID Connect","endpoints":{"oauth":{"authorize":"/connect/authorize","token":"/connect/token","userinfo":"/connect/userinfo","revoke":"/connect/revoke","discovery":"/.well-known/openid-configuration"},"account":{"register":"/api/auth/register","sessions":"/api/account/sessions","sessions_revoke_all":"/api/account/sessions/revoke-all","sessions_revoke_client":"/api/account/sessions/revoke-client","sessions_revoke_single":"/api/account/sessions/{sessionId}/revoke"},"admin":{"tenant_roles":"/api/users/{userId}/tenants/{tenantId}/roles","assign_tenant_role":"/api/users/{userId}/tenants/{tenantId}/roles/{role}","remove_tenant_role":"/api/users/{userId}/tenants/{tenantId}/roles/{role}","tenant_roles_rules":"{tenantId} must be the token's tenant and the caller an active ADMIN there now (otherwise 403). Only members of the cooperative (a user with any role there) are visible: any other user gets 400 User.NotFound. {role} is case-insensitive. Removing ADMIN from the last active administrator gets 409 ClientRole.LastAdmin."},"health":"/health"}}