# Admin ActivityPub

Administrative endpoints for managing ActivityPub federation delivery. Provides tools to clear delivery error counters and restart delivery for specific remote domains. Requires Federation.Manage permission.

## Clear ActivityPub delivery errors for a domain

 - [POST /api/v1/admin/clear-ap-errors](https://docs.wellesley.social/openapi/admin-activitypub/paths/~1api~1v1~1admin~1clear-ap-errors/post.md): Resets the failure counter for the specified remote domain. Use this after a remote server has resolved its issues to allow federation delivery to resume. Requires Federation.Manage permission.

RBAC: requires Federation.Manage

## Restart ActivityPub delivery for a domain

 - [POST /api/v1/admin/restart-ap-delivery](https://docs.wellesley.social/openapi/admin-activitypub/paths/~1api~1v1~1admin~1restart-ap-delivery/post.md): Marks the specified domain as available and restarts federation delivery. Use when a domain was previously marked unavailable due to repeated delivery failures and you want to force-resume communication. Requires Federation.Manage permission.

RBAC: requires Federation.Manage

