> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mesa.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Organizations

> Manage organizations and team membership in Mesa.

Everything in Mesa lives inside an organization. Repositories, public keys, webhooks, and members are all scoped to a single org. You can belong to multiple orgs and switch between them from the dashboard.

## Organizations

An organization has a **display name** and a **slug**. The slug is the URL-friendly identifier used in API paths.

### Creating an organization

Your first organization is created during sign-up, or you join one by accepting an invitation. If you haven't done this yet, see [Quickstart](https://docs.mesa.dev/content/getting-started/quickstart.md).

To create additional organizations, use the org switcher dropdown in the dashboard sidebar. The creator automatically becomes the **owner**.

Slug rules:

* Lowercase letters, numbers, and hyphens only
* Cannot start or end with a hyphen
* Must be unique across all Mesa orgs

### Organization settings

From **Settings** in the sidebar you can update the display name and see org-level stats for members and repositories.

### Deleting an organization

Only **owners** can delete an organization. Deletion is permanent and cascades to all repositories, public keys, members, and invitations.

### API access

Organization identity is available via the API:

* `GET /whoami` — returns the org tied to the calling access token and its effective scopes
* `GET /{org}` — returns org details by slug

Both require the `read` scope. All other org management (create, update, delete) is dashboard-only.

## Roles

Every member has a role that determines what they can do within the org.

| | Owner | Admin | Member |
| - | - | - | - |
| **Create, update, delete repos** | Yes | Yes | Yes |
| **Manage changes and bookmarks** | Yes | Yes | Yes |
| **View repository content and history** | Yes | Yes | Yes |
| **Manage public keys** | Yes | Yes | No |
| **Manage webhooks** | Yes | Yes | No |
| **Invite and remove members** | Yes | Yes | No |
| **View member list** | Yes | Yes | Yes |
| **Update org name and slug** | Yes | Yes | No |
| **Delete org** | Yes | No | No |

Roles are assigned when a member is invited. There is no way to change a member's role after they join — remove and re-invite with the correct role instead.

## Members

View and manage members from the **Members** page in the dashboard sidebar.

<video autoPlay muted loop playsInline>
  <source src="https://mintcdn.com/mesa/7v4rqcb7deft4Fjd/assets/org-docs-member.webm?fit=max&auto=format&n=7v4rqcb7deft4Fjd&q=85&s=cf39ff367a66a74f5d0e1332a79f58d6" type="video/webm" />
</video>

### Inviting members

Click **Invite member** to send an email invitation. You choose the role (`member` or `admin`) at invite time. Inviting requires the `admin` role.

* Invitations expire after **48 hours**
* Re-inviting the same email refreshes the existing invitation
* The invitee must use the same email address to accept

### Pending invitations

Pending invitations appear below the member list. Admins and owners can cancel a pending invitation from the overflow menu.

### Removing members

Admins and owners can remove members. The org owner cannot be removed.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.