---
sidebar:
  label: roboto.domain.orgs
  order: 9
title: roboto.domain.orgs
---
Organizations: workspaces in which users share datasets, actions and other resources in Roboto.

To create organizations and manage their members, use [`Org`](/docs/reference/python-sdk/roboto/domain/orgs#roboto.domain.orgs.Org); to accept or decline an invitation, use [`OrgInvite`](/docs/reference/python-sdk/roboto/domain/orgs#roboto.domain.orgs.OrgInvite).

## Submodules

- [roboto.domain.orgs.org](/docs/reference/python-sdk/roboto/domain/orgs/org)
- [roboto.domain.orgs.org_invite](/docs/reference/python-sdk/roboto/domain/orgs/org_invite)
- [roboto.domain.orgs.org_operations](/docs/reference/python-sdk/roboto/domain/orgs/org_operations)
- [roboto.domain.orgs.org_records](/docs/reference/python-sdk/roboto/domain/orgs/org_records)
- [roboto.domain.orgs.s3_integration](/docs/reference/python-sdk/roboto/domain/orgs/s3_integration)
- [roboto.domain.orgs.webhook_integration](/docs/reference/python-sdk/roboto/domain/orgs/webhook_integration)

## Package Contents

- [BindEmailDomainRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.BindEmailDomainRequest) (class): Deprecated. Request body for `PUT /v1/orgs/subdomains` and `DELETE /v1/orgs/subdomains`.

- [BindEmailDomainResponse](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.BindEmailDomainResponse) (class): Response body of [`start_email_domain_verification()`](/docs/reference/python-sdk/roboto/domain/orgs/org#roboto.domain.orgs.org.Org.start_email_domain_verification).

- [CreateOrgGroupRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.CreateOrgGroupRequest) (class): Request payload to make a group of an organization's members.

- [CreateOrgInviteRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.CreateOrgInviteRequest) (class): Request body for [`create()`](/docs/reference/python-sdk/roboto/domain/orgs/org_invite#roboto.domain.orgs.org_invite.OrgInvite.create).

- [CreateOrgRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.CreateOrgRequest) (class): Request body for [`create()`](/docs/reference/python-sdk/roboto/domain/orgs/org#roboto.domain.orgs.org.Org.create).

- [CreateOrgResponse](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.CreateOrgResponse) (class): Response body of [`create()`](/docs/reference/python-sdk/roboto/domain/orgs/org#roboto.domain.orgs.org.Org.create).

- [CreateOrgRoleRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.CreateOrgRoleRequest) (class): Request payload to define a role in an organization. Only an admin or owner of the organization may define one.

- [EmailDomainBindingOutcome](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.EmailDomainBindingOutcome) (class): Outcome of a request to bind an email domain to an organization, at its creation or later.

- [EmailDomainVerificationChallengeRecord](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.EmailDomainVerificationChallengeRecord) (class): Data record of an organization's pending verification of an email domain, as the Roboto API returns it.

- [EmailDomainVerificationChallengeResponse](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.EmailDomainVerificationChallengeResponse) (class): Response body of [`new_email_domain_verification_record()`](/docs/reference/python-sdk/roboto/domain/orgs/org#roboto.domain.orgs.org.Org.new_email_domain_verification_record).

- [EmailDomainVerificationTxtRecord](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.EmailDomainVerificationTxtRecord) (class): DNS TXT record to publish at an email domain to verify it for an organization.

- [EventModel](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.EventModel) (class): Stage of an organization's move from the legacy event store to the session event store.

- [GuestOrMember](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.GuestOrMember) (type alias): `type GuestOrMember = typing.Literal[OrgBuiltInRole.guest, OrgBuiltInRole.member]`. The built-in roles a member is given by setting their roles or by accepting an invite: guest or member. Admin and owner are given through the organization's membership update, and admin also through an invite's `role`.

- [HeldRoleIds](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.HeldRoleIds) (data): The IDs of the presets and roles an organization defined that one member or group holds, at most [`MAX_ROLES_HELD_DIRECTLY`](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.MAX_ROLES_HELD_DIRECTLY) of them.

- [InviteUserRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.InviteUserRequest) (class): Deprecated. Request body for `POST /v1/orgs/invites`, which invites a user to the caller's organization.

- [MAX_ROLES_HELD_DIRECTLY](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.MAX_ROLES_HELD_DIRECTLY) (data): `MAX_ROLES_HELD_DIRECTLY: Final = 25`. The most presets and roles the organization defined that one member, or one group, may hold itself. Roles a member holds through groups do not count toward the member's limit.

- [ModifyRoleForUserRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.ModifyRoleForUserRequest) (class): Deprecated. Request body for `PUT /v1/orgs/roles` and `DELETE /v1/orgs/roles`.

- [Org](/docs/reference/python-sdk/roboto/domain/orgs/org#roboto.domain.orgs.org.Org) (class): An organization: a workspace in which users share datasets, actions and other resources in Roboto.

- [OrgBuiltInRole](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgBuiltInRole) (class): The built-in role a member of an organization holds. Every member holds exactly one, and each includes the one before it: a member may do everything a guest may, an admin everything a member may, and an owner everything an admin may.

- [OrgCreationEligibility](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.OrgCreationEligibility) (class): Response body of `GET /v1/orgs/creation/eligibility`.

- [OrgEmailDomainChangeRefusal](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.OrgEmailDomainChangeRefusal) (class): Reason Roboto refused to change an organization's email domain as asked.

- [OrgEmailDomainListing](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgEmailDomainListing) (class): Response body of [`email_domain_listing()`](/docs/reference/python-sdk/roboto/domain/orgs/org#roboto.domain.orgs.org.Org.email_domain_listing).

- [OrgEmailDomainRecord](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgEmailDomainRecord) (class): Data record of an email domain an organization holds, as the Roboto API returns it.

- [OrgEmailDomainStatus](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgEmailDomainStatus) (class): Verification status of an email domain an organization holds.

- [OrgEmailDomainVerificationMethod](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgEmailDomainVerificationMethod) (class): Method by which an email domain was verified.

- [OrgGroupMemberRecord](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgGroupMemberRecord) (class): A wire-transmissible representation of a member of an organization's group.

- [OrgGroupRecord](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgGroupRecord) (class): A wire-transmissible representation of a group of an organization's members, which the organization's records can be shared with.

- [OrgHeldRoleRecord](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgHeldRoleRecord) (class): A role a member of an organization holds, a preset or one the organization defined, and every way they hold it.

- [OrgInvite](/docs/reference/python-sdk/roboto/domain/orgs/org_invite#roboto.domain.orgs.org_invite.OrgInvite) (class): An invitation for a user to join an organization.

- [OrgInviteRecord](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgInviteRecord) (class): Data record of an invitation to join an organization, as the Roboto API returns it.

- [OrgInviteStatus](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgInviteStatus) (class): Status of an invitation to join an organization.

- [OrgRecord](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgRecord) (class): Data record of an organization, as the Roboto API returns it.

- [OrgRecordUpdates](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.OrgRecordUpdates) (class): Changes to apply to an organization.

- [OrgRoleHeldDirectly](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgRoleHeldDirectly) (class): A role held by the member themselves.

- [OrgRoleHeldThroughGroup](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgRoleHeldThroughGroup) (class): A role held through a group of the organization the member is in.

- [OrgRoleKind](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgRoleKind) (class): Who defined a role an organization's members can hold.

- [OrgRoleName](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgRoleName) (class): Role a user holds in an organization.

- [OrgRoleRecord](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgRoleRecord) (class): A wire-transmissible representation of a role an organization's members can hold, as the organization's roles list returns it.

- [OrgRoleSource](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgRoleSource) (data): How a member holds a role: themselves (`{"kind": "direct"}`) or through a group (\`\`{"kind": "group", "group_id",

- [OrgStatus](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgStatus) (class): Lifecycle state of an organization.

- [OrgTier](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgTier) (class): Subscription tier of an organization, which sets its usage limits and which features it can use.

- [OrgUserRecord](/docs/reference/python-sdk/roboto/domain/orgs/org_records#roboto.domain.orgs.org_records.OrgUserRecord) (class): Data record of a user's membership in an organization, as the Roboto API returns it.

- [RemoveUserFromOrgRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.RemoveUserFromOrgRequest) (class): Deprecated. Request body for `DELETE /v1/orgs/users`, which removes a user from the caller's organization.

- [SetOrgEmailDomainAutoJoinRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.SetOrgEmailDomainAutoJoinRequest) (class): Request body for [`set_email_domain_auto_join()`](/docs/reference/python-sdk/roboto/domain/orgs/org#roboto.domain.orgs.org.Org.set_email_domain_auto_join).

- [SetOrgGroupRolesRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.SetOrgGroupRolesRequest) (class): Request body for `PUT /v1/orgs/id/<org_id>/groups/<group_id>/roles`: replace the roles a group of the organization holds. Only an admin or owner of the organization may.

- [SetOrgMemberRolesRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.SetOrgMemberRolesRequest) (class): Request body for `PUT /v1/orgs/id/<org_id>/users/id/<user_id>/roles`: set a member's built-in role to guest or member, and replace the roles they hold themselves, in one change. Only an admin or owner of the organization may.

- [UpdateOrgGroupMembersRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.UpdateOrgGroupMembersRequest) (class): Request payload to add members to an organization's group and remove members from it. Each added user must be a member of the organization.

- [UpdateOrgGroupRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.UpdateOrgGroupRequest) (class): Request payload to rename an organization's group or change its description. Only the fields given change.

- [UpdateOrgRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.UpdateOrgRequest) (class): Request body for [`update()`](/docs/reference/python-sdk/roboto/domain/orgs/org#roboto.domain.orgs.org.Org.update).

- [UpdateOrgRoleRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.UpdateOrgRoleRequest) (class): Request payload to rename a role an organization defined, or change its description or switches. Only the fields given change. A change of switches applies to every holder at their next request. Only an admin or owner of the organization may change a role, and nobody may change a preset.

- [UpdateOrgUserRequest](/docs/reference/python-sdk/roboto/domain/orgs/org_operations#roboto.domain.orgs.org_operations.UpdateOrgUserRequest) (class): Request body that adds roles to, or removes roles from, a member of an organization.
