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

# Alias

## Alias

An [alias](/docs/headless-cms/about-aliases) acts as a pointer to a particular branch. You can specify the alias ID in your frontend code to pull content from the target branch associated with an alias.

## assign

The assign method creates a new alias in a particular stack of the organization.

```
import contentstack_management
body = {
       "branch_alias": {
           "target_branch": "test"
           }
       }
branch = contentstack_management.Client(authtoken='auth_token').stack(api_key='api_key').alias("alias_uid")
response = branch.assign(data)
```

The data you want to send to the server when creating a folder.

## delete

The delete method removes an alias permanently from the stack

```
import contentstack_management
branch = contentstack_management.Client(authtoken='auth_token').stack(api_key='api_key').branch(branch_uid="branch_uid")
response = branch.delete()
```

UID of the branch

## fetch

The fetch method retrieves the details of a particular alias.

```
import contentstack_management
branch = contentstack_management.Client(authtoken='auth_token').stack(api_key='api_key').branch_alias('branch_alias_uid')
response = branch.fetch()
```

UID of the alias

## find

The find method retrieves the details of all aliases available in the particular stack.

```
import contentstack_management
branch = contentstack_management.Client(authtoken='auth_token').stack(api_key='api_key').branch_alias()
response = branch.find()
```

A limit on the number of objects to return

The number of objects to skip before return

To retrieve the count of results in response

## Alias | Python Management SDK | Contentstack

Alias acts as a pointer to a branch so your frontend can pull content from the target branch, in the Python Management SDK.