Shortcuts

Organization

class geodesic.account.organizations.Organization(**organization)[source]

Bases: geodesic.bases._APIObject

The Organization class to manage groups users

Parameters

**organization – metadata about a particular Organization

name

(str) - name of this organization

Descriptor: _StringDescr

alias

(str) - alias for this organization

Descriptor: _StringDescr

description

(str) - description of this organization

Descriptor: _StringDescr

homepage

(str) - homepage for this organization

Descriptor: _StringDescr

total_seats

(int) - total number of user seats for this organization

Descriptor: _IntDescr

create()[source]

Creates a new Organization

delete()[source]

Deletes an Organization

save()[source]

Updates an existing Organization

property members

All of the members and admins

add_members(members=[], admins=[])[source]

Add members to this Organization

Parameters
  • members – a list of users to give ordinary membership to

  • admins – a list of users to give admin privileges to

remove_member(u)[source]

Remove a member from this Organization

Parameters

u – A User to remove

property remaining_seats

Gets the number of seats remaining in this Organization (total_seats - # of users)

Docs

Developer documentation for Seer AI APIs

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources