List
List organizations the user has access to
orgs.list() -> datalisthas_moreboolnext_cursorstrOrgListResponse
get/v0/orgs
List organizations the user has access to
Returns
OrgListResponseclass
from stainless_v0 import Stainless
client = Stainless(
api_key="My API Key",
)
orgs = client.orgs.list()
print(orgs.data)
200 Example
{
"data": [
{
"display_name": "display_name",
"object": "org",
"slug": "slug"
}
],
"has_more": true,
"next_cursor": "next_cursor"
}