2024-07-28 22:52:47 +00:00
<!DOCTYPE html>
< html class = "writer-html5" lang = "en" >
< head >
< meta charset = "utf-8" / > < meta name = "generator" content = "Docutils 0.18.1: http://docutils.sourceforge.net/" / >
< meta property = "og:title" content = "kittycad.api.orgs.create_org_member.asyncio" / >
< meta property = "og:type" content = "website" / >
< meta property = "og:url" content = "_autosummary/kittycad.api.orgs.create_org_member.asyncio.html" / >
< meta property = "og:site_name" content = "kittycad" / >
< meta property = "og:image:width" content = "1146" / >
< meta property = "og:image:height" content = "600" / >
< meta property = "og:image" content = "/_images/social_previews/summary__autosummary_kittycad.api.orgs.create_org_member.asyncio_cb775e55.png" / >
< meta property = "og:image:alt" content = "" / >
< meta name = "twitter:card" content = "summary_large_image" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" / >
2024-08-26 22:21:08 +00:00
< title > kittycad.api.orgs.create_org_member.asyncio — kittycad v0.6.21 documentation< / title >
2024-07-28 22:52:47 +00:00
< link rel = "stylesheet" href = "../_static/pygments.css" type = "text/css" / >
< link rel = "stylesheet" href = "../_static/css/theme.css" type = "text/css" / >
< link rel = "stylesheet" href = "../_static/graphviz.css" type = "text/css" / >
< link rel = "stylesheet" href = "../_static/copybutton.css" type = "text/css" / >
< link rel = "stylesheet" href = "../_static/autoclasstoc.css" type = "text/css" / >
<!-- [if lt IE 9]>
< script src = "../_static/js/html5shiv.min.js" > < / script >
<![endif]-->
< script src = "../_static/jquery.js?v=5d32c60e" > < / script >
< script src = "../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c" > < / script >
2024-08-26 22:21:08 +00:00
< script src = "../_static/documentation_options.js?v=64aa1715" > < / script >
2024-07-28 22:52:47 +00:00
< script src = "../_static/doctools.js?v=9a2dae69" > < / script >
< script src = "../_static/sphinx_highlight.js?v=dc90522c" > < / script >
< script src = "../_static/clipboard.min.js?v=a7894cd8" > < / script >
< script src = "../_static/copybutton.js?v=f281be69" > < / script >
< script src = "../_static/js/theme.js" > < / script >
< link rel = "index" title = "Index" href = "../genindex.html" / >
< link rel = "search" title = "Search" href = "../search.html" / >
< link rel = "next" title = "kittycad.api.orgs.create_org_member.asyncio_detailed" href = "kittycad.api.orgs.create_org_member.asyncio_detailed.html" / >
< link rel = "prev" title = "kittycad.api.orgs.create_org_member" href = "kittycad.api.orgs.create_org_member.html" / >
< / head >
< body class = "wy-body-for-nav" >
< div class = "wy-grid-for-nav" >
< nav data-toggle = "wy-nav-shift" class = "wy-nav-side" >
< div class = "wy-side-scroll" >
< div class = "wy-side-nav-search" >
< a href = "../index.html" class = "icon icon-home" >
kittycad
< / a >
< div class = "version" >
2024-08-26 22:21:08 +00:00
v0.6.21
2024-07-28 22:52:47 +00:00
< / div >
< div role = "search" >
< form id = "rtd-search-form" class = "wy-form" action = "../search.html" method = "get" >
< input type = "text" name = "q" placeholder = "Search docs" aria-label = "Search docs" / >
< input type = "hidden" name = "check_keywords" value = "yes" / >
< input type = "hidden" name = "area" value = "default" / >
< / form >
< / div >
< / div > < div class = "wy-menu wy-menu-vertical" data-spy = "affix" role = "navigation" aria-label = "Navigation menu" >
< ul class = "current" >
< li class = "toctree-l1 current" > < a class = "reference internal" href = "kittycad.api.html" > kittycad.api< / a > < ul class = "current" >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.api_calls.html" > kittycad.api.api_calls< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.api_tokens.html" > kittycad.api.api_tokens< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.apps.html" > kittycad.api.apps< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.beta.html" > kittycad.api.beta< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.constant.html" > kittycad.api.constant< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.executor.html" > kittycad.api.executor< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.file.html" > kittycad.api.file< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.hidden.html" > kittycad.api.hidden< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.meta.html" > kittycad.api.meta< / a > < / li >
2024-08-10 04:16:23 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.ml.html" > kittycad.api.ml< / a > < / li >
2024-07-28 22:52:47 +00:00
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.modeling.html" > kittycad.api.modeling< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.oauth2.html" > kittycad.api.oauth2< / a > < / li >
< li class = "toctree-l2 current" > < a class = "reference internal" href = "kittycad.api.orgs.html" > kittycad.api.orgs< / a > < ul class = "current" >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.create_org.html" > kittycad.api.orgs.create_org< / a > < / li >
< li class = "toctree-l3 current" > < a class = "reference internal" href = "kittycad.api.orgs.create_org_member.html" > kittycad.api.orgs.create_org_member< / a > < ul class = "current" >
< li class = "toctree-l4 current" > < a class = "current reference internal" href = "#" > kittycad.api.orgs.create_org_member.asyncio< / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "kittycad.api.orgs.create_org_member.asyncio_detailed.html" > kittycad.api.orgs.create_org_member.asyncio_detailed< / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "kittycad.api.orgs.create_org_member.sync.html" > kittycad.api.orgs.create_org_member.sync< / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "kittycad.api.orgs.create_org_member.sync_detailed.html" > kittycad.api.orgs.create_org_member.sync_detailed< / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "kittycad.api.orgs.create_org_member.html#kittycad.api.orgs.create_org_member._build_response" > < code class = "docutils literal notranslate" > < span class = "pre" > _build_response()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "kittycad.api.orgs.create_org_member.html#kittycad.api.orgs.create_org_member._get_kwargs" > < code class = "docutils literal notranslate" > < span class = "pre" > _get_kwargs()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "kittycad.api.orgs.create_org_member.html#kittycad.api.orgs.create_org_member._parse_response" > < code class = "docutils literal notranslate" > < span class = "pre" > _parse_response()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "kittycad.api.orgs.create_org_member.html#kittycad.api.orgs.create_org_member.asyncio" > < code class = "docutils literal notranslate" > < span class = "pre" > asyncio()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "kittycad.api.orgs.create_org_member.html#kittycad.api.orgs.create_org_member.asyncio_detailed" > < code class = "docutils literal notranslate" > < span class = "pre" > asyncio_detailed()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "kittycad.api.orgs.create_org_member.html#kittycad.api.orgs.create_org_member.sync" > < code class = "docutils literal notranslate" > < span class = "pre" > sync()< / span > < / code > < / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "kittycad.api.orgs.create_org_member.html#kittycad.api.orgs.create_org_member.sync_detailed" > < code class = "docutils literal notranslate" > < span class = "pre" > sync_detailed()< / span > < / code > < / a > < / li >
< / ul >
< / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.create_org_saml_idp.html" > kittycad.api.orgs.create_org_saml_idp< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.delete_org.html" > kittycad.api.orgs.delete_org< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.delete_org_member.html" > kittycad.api.orgs.delete_org_member< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.delete_org_saml_idp.html" > kittycad.api.orgs.delete_org_saml_idp< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.get_any_org.html" > kittycad.api.orgs.get_any_org< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.get_org.html" > kittycad.api.orgs.get_org< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.get_org_member.html" > kittycad.api.orgs.get_org_member< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.get_org_privacy_settings.html" > kittycad.api.orgs.get_org_privacy_settings< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.get_org_saml_idp.html" > kittycad.api.orgs.get_org_saml_idp< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.get_user_org.html" > kittycad.api.orgs.get_user_org< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.list_org_members.html" > kittycad.api.orgs.list_org_members< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.list_orgs.html" > kittycad.api.orgs.list_orgs< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.update_enterprise_pricing_for_org.html" > kittycad.api.orgs.update_enterprise_pricing_for_org< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.update_org.html" > kittycad.api.orgs.update_org< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.update_org_member.html" > kittycad.api.orgs.update_org_member< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.update_org_privacy_settings.html" > kittycad.api.orgs.update_org_privacy_settings< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "kittycad.api.orgs.update_org_saml_idp.html" > kittycad.api.orgs.update_org_saml_idp< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.payments.html" > kittycad.api.payments< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.service_accounts.html" > kittycad.api.service_accounts< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.store.html" > kittycad.api.store< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.unit.html" > kittycad.api.unit< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "kittycad.api.users.html" > kittycad.api.users< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "kittycad.client.html" > kittycad.client< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "kittycad.models.html" > kittycad.models< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "kittycad.types.html" > kittycad.types< / a > < / li >
< / ul >
< / div >
< / div >
< / nav >
< section data-toggle = "wy-nav-shift" class = "wy-nav-content-wrap" > < nav class = "wy-nav-top" aria-label = "Mobile navigation menu" >
< i data-toggle = "wy-nav-top" class = "fa fa-bars" > < / i >
< a href = "../index.html" > kittycad< / a >
< / nav >
< div class = "wy-nav-content" >
< div class = "rst-content" >
< div role = "navigation" aria-label = "Page navigation" >
< ul class = "wy-breadcrumbs" >
< li > < a href = "../index.html" class = "icon icon-home" aria-label = "Home" > < / a > < / li >
< li class = "breadcrumb-item" > < a href = "kittycad.api.html" > kittycad.api< / a > < / li >
< li class = "breadcrumb-item" > < a href = "kittycad.api.orgs.html" > kittycad.api.orgs< / a > < / li >
< li class = "breadcrumb-item" > < a href = "kittycad.api.orgs.create_org_member.html" > kittycad.api.orgs.create_org_member< / a > < / li >
< li class = "breadcrumb-item active" > kittycad.api.orgs.create_org_member.asyncio< / li >
< li class = "wy-breadcrumbs-aside" >
< / li >
< / ul >
< hr / >
< / div >
< div role = "main" class = "document" itemscope = "itemscope" itemtype = "http://schema.org/Article" >
< div itemprop = "articleBody" >
< section id = "kittycad-api-orgs-create-org-member-asyncio" >
< h1 > kittycad.api.orgs.create_org_member.asyncio< a class = "headerlink" href = "#kittycad-api-orgs-create-org-member-asyncio" title = "Link to this heading" > < / a > < / h1 >
< dl class = "py function" >
< dt class = "sig sig-object py" id = "kittycad.api.orgs.create_org_member.asyncio" >
< em class = "property" > < span class = "k" > < span class = "pre" > async< / span > < / span > < span class = "w" > < / span > < / em > < span class = "sig-prename descclassname" > < span class = "pre" > kittycad.api.orgs.create_org_member.< / span > < / span > < span class = "sig-name descname" > < span class = "pre" > asyncio< / span > < / span > < span class = "sig-paren" > (< / span > < em class = "sig-param" > < span class = "n" > < span class = "pre" > body< / span > < / span > < / em > , < em class = "sig-param" > < span class = "o" > < span class = "pre" > *< / span > < / span > < / em > , < em class = "sig-param" > < span class = "n" > < span class = "pre" > client< / span > < / span > < / em > < span class = "sig-paren" > )< / span > < a class = "reference external" href = "https://github.com/kittycad/kittycad.py/kittycad/api/orgs/create_org_member.py" > < span class = "viewcode-link" > < span class = "pre" > [source]< / span > < / span > < / a > < a class = "reference internal" href = "../_modules/kittycad/api/orgs/create_org_member.html#asyncio" > < span class = "viewcode-link" > < span class = "pre" > [source]< / span > < / span > < / a > < a class = "headerlink" href = "#kittycad.api.orgs.create_org_member.asyncio" title = "Link to this definition" > < / a > < / dt >
< dd > < p > If the user exists, this will add them to your org. If they do not exist, this will create a new user and add them to your org.
In both cases the user gets an email that they have been added to the org.
If the user is already in your org, this will return a 400 and a message.
If the user is already in a different org, this will return a 400 and a message.
This endpoint requires authentication by an org admin. It adds the specified member to the authenticated user’ s org.< / p >
< dl class = "field-list simple" >
< dt class = "field-odd" > Return type< span class = "colon" > :< / span > < / dt >
< dd class = "field-odd" > < p > < span class = "sphinx_autodoc_typehints-type" > < a class = "reference external" href = "https://docs.python.org/3/library/typing.html#typing.Union" title = "(in Python v3.12)" > < code class = "xref py py-data docutils literal notranslate" > < span class = "pre" > Union< / span > < / code > < / a > [< a class = "reference internal" href = "kittycad.models.org_member.OrgMember.html#kittycad.models.org_member.OrgMember" title = "kittycad.models.org_member.OrgMember" > < code class = "xref py py-class docutils literal notranslate" > < span class = "pre" > OrgMember< / span > < / code > < / a > , < a class = "reference internal" href = "kittycad.models.error.Error.html#kittycad.models.error.Error" title = "kittycad.models.error.Error" > < code class = "xref py py-class docutils literal notranslate" > < span class = "pre" > Error< / span > < / code > < / a > , < a class = "reference external" href = "https://docs.python.org/3/library/constants.html#None" title = "(in Python v3.12)" > < code class = "xref py py-obj docutils literal notranslate" > < span class = "pre" > None< / span > < / code > < / a > ]< / span > < / p >
< / dd >
< / dl >
< / dd > < / dl >
< / section >
< / div >
< / div >
< footer > < div class = "rst-footer-buttons" role = "navigation" aria-label = "Footer" >
< a href = "kittycad.api.orgs.create_org_member.html" class = "btn btn-neutral float-left" title = "kittycad.api.orgs.create_org_member" accesskey = "p" rel = "prev" > < span class = "fa fa-arrow-circle-left" aria-hidden = "true" > < / span > Previous< / a >
< a href = "kittycad.api.orgs.create_org_member.asyncio_detailed.html" class = "btn btn-neutral float-right" title = "kittycad.api.orgs.create_org_member.asyncio_detailed" accesskey = "n" rel = "next" > Next < span class = "fa fa-arrow-circle-right" aria-hidden = "true" > < / span > < / a >
< / div >
< hr / >
< div role = "contentinfo" >
< p > © Copyright 2024, KittyCAD Team Members.< / p >
< / div >
Built with < a href = "https://www.sphinx-doc.org/" > Sphinx< / a > using a
< a href = "https://github.com/readthedocs/sphinx_rtd_theme" > theme< / a >
provided by < a href = "https://readthedocs.org" > Read the Docs< / a > .
< / footer >
< / div >
< / div >
< / section >
< / div >
< script >
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
< / script >
< / body >
< / html >