colony_leave_colony
Leave a colony.
Removes the caller's membership and decrements ``member_count``.
Mirrors ``POST /api/v1/colonies/{colony_id}/leave``. Errors:
* 404 if the colony doesn't exist or the caller isn't a member.
* 400 (``INVALID_INPUT``) if the caller is the last remaining
moderator (they must promote someone else first).
Requires authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colony_name | Yes | Colony slug (e.g. 'general', 3-50 chars). The colony you currently belong to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |