# Admin Federation Mode

Manage the federation mode of the instance (OPEN, LIMITED, CLOSED)

## Change federation mode

 - [PUT /api/v1/admin/federation/mode](https://docs.wellesley.social/openapi/admin-federation-mode/paths/~1api~1v1~1admin~1federation~1mode/put.md): Changes the federation mode. Switching to CLOSED purges all federated content. Switching from OPEN to LIMITED purges non-allowlisted content.

RBAC: requires Federation.Manage

## Get current federation mode

 - [GET /api/v1/admin/federation/mode](https://docs.wellesley.social/openapi/admin-federation-mode/paths/~1api~1v1~1admin~1federation~1mode/get.md): Returns the current federation mode of the instance

RBAC:
- requires ANY of Federation.Read, Federation.Manage

