> ## Documentation Index
> Fetch the complete documentation index at: https://docs.suprsend.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete User Tenant Mapping

> Removes the per-tenant profile for a user. The global profile is untouched and the user remains in the workspace.



## OpenAPI

````yaml DELETE /v1/user/{distinct_id}/tenant/{tenant_id}/
openapi: 3.1.1
info:
  title: SuprSend API
  description: APIs supported on suprsend platform
  version: 1.2.2
servers:
  - url: https://hub.suprsend.com
security:
  - sec0: []
  - BearerAuth: []
paths:
  /v1/user/{distinct_id}/tenant/{tenant_id}/:
    delete:
      summary: Delete User Tenant Mapping
      description: >-
        Removes the per-tenant profile for a user. The global profile is
        untouched and the user remains in the workspace.
      operationId: delete-user-tenant-mapping
      parameters:
        - name: distinct_id
          in: path
          description: Unique identifier of the user in your system.
          schema:
            type: string
          required: true
        - name: tenant_id
          in: path
          description: >-
            Tenant to disassociate the user from. Only the per-tenant profile is
            removed.
          schema:
            type: string
          required: true
      responses:
        '204':
          description: 204 - No Content. The per-tenant profile was removed.
        '404':
          description: 404 - Not Found. Returned when the mapping does not exist.
          content:
            application/json:
              examples:
                Result:
                  value:
                    code: 404
                    message: no per-tenant profile for user in tenant 'acme-corp'
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: HTTP status code.
                    example: 404
                  message:
                    type: string
                    description: Human-readable error description.
                    example: no per-tenant profile for user in tenant 'acme-corp'
      deprecated: false
      security:
        - BearerAuth: []
      x-codeSamples:
        - lang: cURL
          label: Delete user tenant mapping
          source: >
            curl -X DELETE
            "https://hub.suprsend.com/v1/user/user@example.com/tenant/acme-corp/"
            \
              --header 'Authorization: Bearer __YOUR_API_KEY__'
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: Authorization
      x-bearer-format: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where <token>
        is your auth token.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API_Key
      description: >-
        Pass as `Bearer <API_KEY>`. Get API Key from SuprSend dashboard
        Developers -> API Keys section.

````