---
title: "Create tenant-based handle"
method: POST
path: "/api/v2/integration/ms-teams/configuration/tenant-based-handles"
tags: ["Microsoft Teams Integration"]
---

# Create tenant-based handle

`POST /api/v2/integration/ms-teams/configuration/tenant-based-handles`

Create a tenant-based handle in the Datadog Microsoft Teams integration.

## Request body

- MicrosoftTeamsCreateTenantBasedHandleRequest — Create tenant-based handle request.
  - `data` MicrosoftTeamsTenantBasedHandleRequestData, required — Tenant-based handle data from a response.
    - `attributes` MicrosoftTeamsTenantBasedHandleRequestAttributes, required — Tenant-based handle attributes.
      - `channel_id` string, required — Channel id.
      - `name` string, required — Tenant-based handle name.
      - `team_id` string, required — Team id.
      - `tenant_id` string, required — Tenant id.
    - `type` 'tenant-based-handle', required — Specifies the tenant-based handle resource type.

## Response `201`

CREATED

- MicrosoftTeamsTenantBasedHandleResponse — Response of a tenant-based handle.
  - `data` MicrosoftTeamsTenantBasedHandleResponseData, required — Tenant-based handle data from a response.
    - `attributes` MicrosoftTeamsTenantBasedHandleAttributes — Tenant-based handle attributes.
      - `channel_id` string — Channel id.
      - `name` string — Tenant-based handle name.
      - `team_id` string — Team id.
      - `tenant_id` string — Tenant id.
    - `id` string — The ID of the tenant-based handle.
    - `type` 'tenant-based-handle' — Specifies the tenant-based handle resource type.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `412` — Failed Precondition
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
