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

# User

## User

All accounts registered with Contentstack are known as Users. A Stack can have many users with varying permissions and roles.

**Example:**

```
import contentstack_managementclient = contentstack_management.Client(authtoken="auth_token")user = client.user()
```

## activate

The activate method enables the activation of a user account using the activation token.

```
body={
   "user": {
      "first_name": "first_name",
      "last_name": "last_name",
      "password": "password",
      "password_confirmation": "confirm_password"
     }
  }
import contentstack_management
client = contentstack_management.Client(authtoken='auth_token')
response = self.client.user().activate('user_activation_token', body)
```

The token received at the time of signup or when a user requests an account activation.

## fetch

The fetch method retrieves the information of an existing user account.

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

response = client.user().fetch()
```

## forgot_password

The forgot\_password method sends a request for a temporary password to log in to an account in case a user has forgotten the login password.

```
body={
     "user": {
        "email": "john.doe@contentstack.com"
     }
  }
import contentstack_management
client = contentstack_management.Client(authtoken='auth_token')

response = client.user().request_password(body).json()
```

The necessary user information for the request, usually comprising the user's email or username.

## reset_password

The reset\_password method sends a request for resetting the password of your Contentstack account.

```
body = {
    "user": {
    "reset_password_token": "*******",
    "password": "******",
    "password_confirmation": "*****"
   }
 }
import contentstack_management
client = contentstack_management.Client(authtoken='auth_token')

response = client.user().reset_password(body)
```

The necessary user information for the request, usually comprising the user's email or username.

## update

The update method updates the details of an existing user account.

```
body ={
   "user": {
      "company": "company name inc.",
      "first_name": "Your name"
     }
  }
import contentstack_management
client = contentstack_management.Client(authtoken='auth_token')
user = client.user()
response = user.update(body)
```

The data that you want to update.

## User | Python Management SDK | Contentstack

User represents accounts registered with Contentstack, each with varying permissions and roles, in the Python Management SDK.