---
source_url: https://www.pubnub.com/docs/admin-api/data-sync-relationship-class-introduction
title: DataSync:Relationship Class Introduction
description: DataSync:Relationship Class Introduction
---

# DataSync:Relationship Class Introduction

> For AI agents: documentation index at https://www.pubnub.com/llms-full.txt

Create, read, replace and delete the relationship class versions of a subscribe key.

## [GET Get all relationship classes](https://www.pubnub.com/docs/admin-api/get-all-relationship-classes.md)

Returns every relationship class version the subscribe key can use, the SubKey

## [GET Get relationship class by name and version](https://www.pubnub.com/docs/admin-api/get-relationship-class-by-name-and-version.md)

Returns one relationship class version with its cardinality and class properties.

## [PUT Update relationship class with complete resource replacement](https://www.pubnub.com/docs/admin-api/update-relationship-class-with-complete-resource-replacement.md)

Replaces the description of one relationship class version of this subscribe key

## [POST Create a new relationship class](https://www.pubnub.com/docs/admin-api/create-a-new-relationship-class.md)

Creates a new relationship class that defines a type of relationship between entities.

## [DELETE Delete relationship class by name and version](https://www.pubnub.com/docs/admin-api/delete-relationship-class-by-name-and-version.md)

Deletes one class version.
