# Questions about multi-tenancy

**URL:** <https://forum.camunda.io/t/questions-about-multi-tenancy/53453>\
**Category:** Discussion & Questions\
**Tags:** multitenancy\
**Created:** [July 3, 2024, 9:33am UTC](https://forum.camunda.io/t/questions-about-multi-tenancy/53453 "2024-07-03T09:33:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bpmnenthusiast](https://forum.camunda.io/letter_avatar_proxy/v4/letter/b/7cd45c/32.png) [@bpmnenthusiast](https://forum.camunda.io/u/bpmnenthusiast)\
**Post date:** [July 3, 2024, 9:33am UTC](https://forum.camunda.io/t/questions-about-multi-tenancy/53453/1 "2024-07-03T09:33:38Z")

</div>

Hello,

I am looking into the multi-tenancy feature and would like to ask a few questions.

**1. Handling user tasks with multi-tenancy**

Background info:  
It is possible to query for user tasks via the Tasklist API ([Search tasks | Camunda 8 Docs](https://docs.camunda.io/docs/apis-tools/tasklist-api-rest/specifications/search-tasks/)). Here a request parameter “tenantIds” exists. However, the endpoints in the Tasklist API as well as the endpoints of the Zeebe REST API for managing user tasks, only take a “taskId” as a parameter - there is no way to provide a tenant ID.

Question:  
Does this mean that task IDs are unique across tenants? So it is not possible that two tenants each have a user task with the same ID?

**2. Support for multi-tenancy**  
From my research on the topic of multi-tenancy I understand that multi-tenancy is currently only supported for Self-Managed Camunda 8. Is this correct? And are there any plans to support multi-tenancy for SaaS in the future?

Many thanks and best regards,  
bpmnenthusiast

---

<div class="post-metadata">

**Author:** ![nathan.loding](https://forum.camunda.io/user_avatar/forum.camunda.io/nathan.loding/32/24171_2.png) [@nathan.loding](https://forum.camunda.io/u/nathan.loding)\
**Post date:** [July 3, 2024, 4:08pm UTC](https://forum.camunda.io/t/questions-about-multi-tenancy/53453/2 "2024-07-03T16:08:52Z")

</div>

Hi @bpmnenthusiast - good questions!

1. I am pretty sure the task ID is unique across all tenants, but this is a good question that I don’t have a complete answer for! I will discuss with the engineering teams and find a solid answer, and also work to update our documentation.

2. Yes, multi-tenancy is only supported by Self-Managed at this time. SaaS provides a unique set of challenges to solve to support multi-tenancy. There isn’t a target release version/date yet, but it is in development.

---

<div class="post-metadata">

**Author:** ![nathan.loding](https://forum.camunda.io/user_avatar/forum.camunda.io/nathan.loding/32/24171_2.png) [@nathan.loding](https://forum.camunda.io/u/nathan.loding)\
**Post date:** [July 3, 2024, 6:05pm UTC](https://forum.camunda.io/t/questions-about-multi-tenancy/53453/3 "2024-07-03T18:05:38Z")

</div>

Follow up - I spoke with our engineer team, and they confirmed the task ID is unique across tenants. The REST API does support multi-tenancy and requires the appropriate permissions on the API client to complete tasks assigned to a tenant. Future REST endpoints will have tenant options, but as the task ID is unique, these endpoints didn’t have a specific tenant ID parameter. Hope that helps!

---

<div class="post-metadata">

**Author:** ![bpmnenthusiast](https://forum.camunda.io/letter_avatar_proxy/v4/letter/b/7cd45c/32.png) [@bpmnenthusiast](https://forum.camunda.io/u/bpmnenthusiast)\
**Post date:** [July 4, 2024, 8:02am UTC](https://forum.camunda.io/t/questions-about-multi-tenancy/53453/4 "2024-07-04T08:02:40Z")

</div>

Hello @nathan.loding,  
great, thank you very much. Your fast and clear answer helped us a lot.

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [July 11, 2024, 8:03am UTC](https://forum.camunda.io/t/questions-about-multi-tenancy/53453/5 "2024-07-11T08:03:36Z")

</div>

Closed on July 11, 2024, 8:03am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
