---
search:
  tags:
    - Multitenancy Recipe
    - POST
seo:
  description: >-
    Add user's association with the… Reference for the POST
    /appid-{appId}/{tenantId}/recipe/multitenancy/tenant/user endpoint in the
    Core Driver Interface API.
sidebar:
  badge: POST
  label: Add user tenant association
title: Add user tenant association
type: openapi-operation
---
Add user's association with the tenant.

User will be added to the tenant based on the url prefix of the request.

Note: To associate a user to a tenant, the tenant must be in the same database
and user must already exist in the app

<Operation source="references-cdi" id="addusertotenant" />
