---
title: "Organization"
description: "Organization"
url: "https://www.contentstack.com/docs/developers/sdks/content-management-sdk/python/reference/organization"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-21"
---

# Organization

## Organization

[Organization](/docs/administration/about-organizations) is the top-level entity in the hierarchy of Contentstack, consisting of stacks and stack resources, and users. Organization allows easy management of projects as well as users within the Organization.

## add_users

The add\_users method adds users to the organization.

```
data = {
           "share": {
               "users": {
                   "abc@sample.com": ["{****}"],
                   "xyz@sample.com": ["{****}"]
               },
               "stacks": {
                   "abc@sample.com": {
                       "{{apiKey}}": ["{****}"]
                   },
                   "xyz@sample.com": {
                   }
               },
               "message": "Invitation message"
           }
       }

import contentstack_management
client = contentstack_management.Client(authtoken='auth_token')

response = client.organizations('organization_uid').organization_add_users(data).json()
```

The email address of the user whom you intend to add in the organization.

## fetch

The fetch method retrieves the organization entries.

```
import contentstack_management
client = contentstack_management.Client(authtoken='auth_token')

response = client.organizations('organization_uid').fetch().json()
```

UID of the organization

## find

The find method searches the organization entries.

```
import contentstack_management
client = contentstack_management.Client(authtoken='auth_token')
response = client.organizations().find()
```

## logs

The log method retrieves the organization log entries.

```
import contentstack_management
client = contentstack_management.Client(authtoken='auth_token')

response = client.organizations('organization_uid').organization_logs().json()
```

UID of the organization

## roles

The roles method retrieves the organization roles entries.

```
import contentstack_management 
client = contentstack_management.Client(authtoken='auth_token')

response = client.organizations('organization_uid').get_organization_roles().json()
```

UID of the organization

## stacks

The stacks method retrieves the organization stacks.

```
import contentstack_management
client = contentstack_management.Client(authtoken='auth_token')

response = client.organizations('organization_uid').organization_stacks()
```

UID of the organization

## transfer_ownership

The transfer\_ownership method transfers the ownership of the organization to another user.

```
data = {
     "transfer_to": "abc@sample.com"
  }

import contentstack_management
client = contentstack_management.Client(authtoken='auth_token')
response = client.organizations('organization_uid').transfer_organizations_ownership(data)
```

The email address of the user to whom you intend to transfer ownership.

UID of the organization

## Organization | Python Management SDK | Contentstack

Organization is the top-level entity holding stacks, resources, and users for easy project management, in the Python Management SDK.