Organizations
Team management with role-based access
Overview
Organizations are the top-level grouping for teams. Projects, agents, and billing are scoped to organizations. Members have roles (owner, admin, member) that control their permissions.
All organization methods are available on r.organizations.
Methods
List organizations
Get an organization
By ID
By slug
Returns: SingleResponse<OrganizationDetail>
Create an organization
Input fields:
Update an organization
Update fields:
Delete an organization
Deleting an organization is permanent. All projects, agents, and associated data within the organization will be destroyed.
Member management
List members
Add a member
Add an existing user to the organization by their user ID.
Input fields:
Invite by email
Invite someone to the organization by email. If they have an account, they are added directly. Otherwise, they receive an invitation email.
Input fields:
Remove a member
Update a member’s role
Available roles: