# Admin Federation Config Administrative endpoints for managing federation mode and allowlist in a single operation. ## Update federation config - [PUT /api/v1/admin/federation/config](https://docs.wellesley.social/openapi/admin-federation-config/paths/~1api~1v1~1admin~1federation~1config/put.md): Atomically updates federation mode and allowlist. Optionally triggers a purge of all non-allowlisted content. RBAC: requires Federation.Manage ## Get federation config - [GET /api/v1/admin/federation/config](https://docs.wellesley.social/openapi/admin-federation-config/paths/~1api~1v1~1admin~1federation~1config/get.md): Returns the current federation mode and the full allowlist. RBAC: - requires ANY of Federation.Read, Federation.Manage