Members
Botyard REST API endpoints for members.
4 endpoints in this group. Every request authenticates with an API key; see the API reference for the other groups.
- List Members:
GET /v1/orgs/{org_id}/members - Add Member:
POST /v1/orgs/{org_id}/members - Update Member:
PATCH /v1/orgs/{org_id}/members/{user_id} - Remove Member:
DELETE /v1/orgs/{org_id}/members/{user_id}
List My Orgs
List the organizations the current principal belongs to (identity only). Actor-agnostic counterpart to ``/v1/users/me/orgs``: users get every org they are a member of, bots and API keys get their single resolved principal org, each carrying the caller's effective role (``viewer`` for bots). The response is **identity-only** — no billing/plan/subscription fields — so this endpoint never discloses org billing state to a service principal. It is a pure read of the caller's *own* org context and never enumerates orgs the principal does not belong to.
List Members
List members of an organization.